[ticket/289] Add missing class variable to modules_helper

This commit is contained in:
Marc Alexander
2014-07-24 17:51:16 +02:00
parent 7f887b872c
commit d554480697
6 changed files with 15 additions and 5 deletions

View File

@@ -17,15 +17,23 @@ class modules_helper
*/
protected $auth;
/**
* phpBB config
* @var \phpbb\config\config
*/
protected $config;
/**
* Constructor
* NOTE: The parameters of this method must match in order and type with
* the dependencies defined in the services.yml file for this service.
* @param \phpbb\auth\auth $auth Auth object
* @param \phpbb\config\config $config phpBB config
*/
public function __construct($auth)
public function __construct($auth, $config)
{
$this->auth = $auth;
$this->config = $config;
}
/**