mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/system-cron] Wrap cron tasks in cron manager.
PHPBB3-9596
This commit is contained in:
parent
0cfbdcc744
commit
b620f29937
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue