[ticket/11700] namespacify phpbb_permissions class

PHPBB3-11700
This commit is contained in:
Nils Adermann 2013-09-16 06:30:50 +02:00
parent 3634ff14a0
commit 570b83b046

View file

@ -7,6 +7,8 @@
*
*/
namespace phpbb;
/**
* DO NOT CHANGE
*/
@ -15,28 +17,28 @@ if (!defined('IN_PHPBB'))
exit;
}
class phpbb_permissions
class permissions
{
/**
* Event dispatcher object
* @var phpbb_event_dispatcher
* @var \phpbb\event\dispatcher
*/
protected $dispatcher;
/**
* User object
* @var phpbb_user
* @var \phpbb\user
*/
protected $user;
/**
* Constructor
*
* @param phpbb_event_dispatcher $phpbb_dispatcher Event dispatcher
* @param phpbb_user $user User Object
* @param \phpbb\event\dispatcher $phpbb_dispatcher Event dispatcher
* @param \phpbb\user $user User Object
* @return null
*/
public function __construct(phpbb_event_dispatcher $phpbb_dispatcher, phpbb_user $user)
public function __construct(\phpbb\event\dispatcher $phpbb_dispatcher, \phpbb\user $user)
{
$this->dispatcher = $phpbb_dispatcher;
$this->user = $user;