mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
Timberrrrrrrr ... added new cron service to tidy expired persistent login keys.
git-svn-id: file:///svn/phpbb/trunk@5171 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -60,6 +60,16 @@ switch ($cron_type)
|
|||||||
tidy_database();
|
tidy_database();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'tidy_login_keys':
|
||||||
|
if ($use_shutdown_function)
|
||||||
|
{
|
||||||
|
register_shutdown_function(array(&$user, 'tidy_login_keys');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$user->tidy_login_keys();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Output transparent gif
|
// Output transparent gif
|
||||||
|
Reference in New Issue
Block a user