phpBB

Code Changes

File: phpbb/cron/manager.php

  Unmodified   Added   Modified   Removed
Line 58Line 58
	 * @var string
*/
protected $php_ext;

	 * @var string
*/
protected $php_ext;

 

/**
* @var \phpbb\template\template
*/
protected $template;


/**
* Constructor. Loads all available tasks.


/**
* Constructor. Loads all available tasks.

Line 66Line 71
	* @param helper $routing_helper Routing helper
* @param string $phpbb_root_path Relative path to phpBB root
* @param string $php_ext PHP file extension

	* @param helper $routing_helper Routing helper
* @param string $phpbb_root_path Relative path to phpBB root
* @param string $php_ext PHP file extension

 
	* @param \phpbb\template\template $template

	*/

	*/

	public function __construct(ContainerInterface $phpbb_container, helper $routing_helper, $phpbb_root_path, $php_ext)

	public function __construct(ContainerInterface $phpbb_container, helper $routing_helper, $phpbb_root_path, $php_ext, $template)

	{
$this->phpbb_container = $phpbb_container;
$this->routing_helper = $routing_helper;
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;

	{
$this->phpbb_container = $phpbb_container;
$this->routing_helper = $routing_helper;
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;

 
		$this->template = $template;

	}

/**

	}

/**

Line 193Line 200
	*/
public function wrap_task(\phpbb\cron\task\task $task)
{

	*/
public function wrap_task(\phpbb\cron\task\task $task)
{

		return new wrapper($task, $this->routing_helper, $this->phpbb_root_path, $this->php_ext);

		return new wrapper($task, $this->routing_helper, $this->phpbb_root_path, $this->php_ext, $this->template);

	}
}


	}
}