diff options
| author | Dhruv Goel <dhruv.goel92@gmail.com> | 2014-07-22 00:14:01 +0530 | 
|---|---|---|
| committer | Dhruv Goel <dhruv.goel92@gmail.com> | 2014-07-22 00:14:01 +0530 | 
| commit | e11875527dbb09c2c22192c6b6866a19cc38473d (patch) | |
| tree | 42c02717631bbbd2fa875e79e782288ee0c8c9d0 /phpBB/phpbb/console/command/cache/purge.php | |
| parent | 1c8357a1cba79ed490d7bebda59c67ea3c2bda46 (diff) | |
| parent | 07ce29c081c8bbd24a5094d89346be33dda583c5 (diff) | |
| download | forums-e11875527dbb09c2c22192c6b6866a19cc38473d.tar forums-e11875527dbb09c2c22192c6b6866a19cc38473d.tar.gz forums-e11875527dbb09c2c22192c6b6866a19cc38473d.tar.bz2 forums-e11875527dbb09c2c22192c6b6866a19cc38473d.tar.xz forums-e11875527dbb09c2c22192c6b6866a19cc38473d.zip  | |
Merge pull request #2752 from bantu/ticket/12656
[ticket/12656] Pass user object into all console commands for translation
Diffstat (limited to 'phpBB/phpbb/console/command/cache/purge.php')
| -rw-r--r-- | phpBB/phpbb/console/command/cache/purge.php | 10 | 
1 files changed, 3 insertions, 7 deletions
diff --git a/phpBB/phpbb/console/command/cache/purge.php b/phpBB/phpbb/console/command/cache/purge.php index 379d2aa1ca..8c51d1b5a8 100644 --- a/phpBB/phpbb/console/command/cache/purge.php +++ b/phpBB/phpbb/console/command/cache/purge.php @@ -29,31 +29,27 @@ class purge extends \phpbb\console\command\command  	/** @var \phpbb\log\log */  	protected $log; -	/** @var \phpbb\user */ -	protected $user; -  	/** @var \phpbb\config\config */  	protected $config;  	/**  	* Constructor  	* +	* @param \phpbb\user							$user	User instance  	* @param \phpbb\cache\driver\driver_interface	$cache	Cache instance  	* @param \phpbb\db\driver\driver_interface		$db		Database connection  	* @param \phpbb\auth\auth						$auth	Auth instance  	* @param \phpbb\log\log							$log	Logger instance -	* @param \phpbb\user							$user	User instance  	* @param \phpbb\config\config					$config	Config instance  	*/ -	public function __construct(\phpbb\cache\driver\driver_interface $cache, \phpbb\db\driver\driver_interface $db, \phpbb\auth\auth $auth, \phpbb\log\log $log, \phpbb\user $user, \phpbb\config\config $config) +	public function __construct(\phpbb\user $user, \phpbb\cache\driver\driver_interface $cache, \phpbb\db\driver\driver_interface $db, \phpbb\auth\auth $auth, \phpbb\log\log $log, \phpbb\config\config $config)  	{  		$this->cache = $cache;  		$this->db = $db;  		$this->auth = $auth;  		$this->log = $log; -		$this->user = $user;  		$this->config = $config; -		parent::__construct(); +		parent::__construct($user);  	}  	/**  | 
