1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[feature/system-cron] Fixes to make cron actually run.

PHPBB3-9596
This commit is contained in:
Oleg Pudeyev
2010-04-18 13:48:32 -04:00
parent ea3b98ab49
commit 763dc86c16
6 changed files with 26 additions and 17 deletions

View File

@@ -33,6 +33,7 @@ class cron_task_core_tidy_database extends cron_task_base
*/
public function run()
{
global $phpbb_root_path, $phpEx;
if (!function_exists('tidy_database'))
{
include($phpbb_root_path . 'includes/functions_admin.' . $phpEx);

View File

@@ -28,7 +28,7 @@ if (!class_exists('cron_task_base'))
*
* @package phpBB3
*/
class cron_task_core_tidy_sessions extends cron_task_base
class cron_task_core_tidy_search extends cron_task_base
{
/**
* Runs this cron task.