1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/system-cron] add phpbb_ prefix to all class names

PHPBB3-9596
This commit is contained in:
Igor Wiedler
2010-10-28 22:26:49 +02:00
committed by Oleg Pudeyev
parent 0aa491ffa2
commit a9e0f9947d
15 changed files with 20 additions and 20 deletions

View File

@@ -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;
}