diff options
Diffstat (limited to 'phpBB/includes/cron/manager.php')
-rw-r--r-- | phpBB/includes/cron/manager.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/cron/manager.php b/phpBB/includes/cron/manager.php index 899fd5e325..73b06afca0 100644 --- a/phpBB/includes/cron/manager.php +++ b/phpBB/includes/cron/manager.php @@ -23,7 +23,7 @@ if (!defined('IN_PHPBB')) * * @package phpBB3 */ -class cron_manager +class phpbb_cron_manager { private $tasks = array(); @@ -94,9 +94,9 @@ class cron_manager { foreach ($task_names as $task_name) { - $class = "cron_task_$task_name"; + $class = "phpbb_cron_task_$task_name"; $task = new $class(); - $wrapper = new cron_task_wrapper($task); + $wrapper = new phpbb_cron_task_wrapper($task); $this->tasks[] = $wrapper; } } @@ -167,7 +167,7 @@ class cron_manager $class = $task->get_name(); $task = new $class($args); // need to wrap the new task too - $task = new cron_task_wrapper($task); + $task = new phpbb_cron_task_wrapper($task); } return $task; } |