mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-20 07:42:09 +02:00
[feature/system-cron] Wrap cron tasks in cron manager.
PHPBB3-9596
This commit is contained in:
parent
0cfbdcc744
commit
b620f29937
@ -101,7 +101,8 @@ class cron_manager
|
||||
include_once($phpbb_root_path . "includes/cron/$mod/$filename.$phpEx");
|
||||
$class = "cron_task_${mod}_${filename}";
|
||||
$object = new $class;
|
||||
$this->tasks[] = $object;
|
||||
$wrapper = new cron_task_wrapper($object);
|
||||
$this->tasks[] = $wrapper;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user