1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[feature/dic] Rename {phpEx => php_ext} for consistency

PHPBB3-10739
This commit is contained in:
Igor Wiedler
2012-07-26 16:15:56 +02:00
parent cec4c94f2e
commit 5cdcaaa531
8 changed files with 34 additions and 34 deletions

View File

@@ -32,17 +32,17 @@ class phpbb_cron_manager
*/
protected $tasks = array();
protected $phpbb_root_path, $phpEx;
protected $phpbb_root_path, $php_ext;
/**
* Constructor. Loads all available tasks.
*
* @param array|Traversable $tasks Provides an iterable set of task names
*/
public function __construct($tasks, $phpbb_root_path, $phpEx)
public function __construct($tasks, $phpbb_root_path, $php_ext)
{
$this->phpbb_root_path = $phpbb_root_path;
$this->phpEx = $phpEx;
$this->php_ext = $php_ext;
$this->load_tasks($tasks);
}
@@ -126,6 +126,6 @@ class phpbb_cron_manager
public function wrap_task(phpbb_cron_task $task)
{
return new phpbb_cron_task_wrapper($task, $this->phpbb_root_path, $this->phpEx);
return new phpbb_cron_task_wrapper($task, $this->phpbb_root_path, $this->php_ext);
}
}