phpBB

Code Changes

File: includes/acp/acp_permissions.php

  Unmodified   Added   Modified   Removed
Line 44Line 44
			include($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
}


			include($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
}


		$this->permissions = $phpbb_container->get('acl.permissions');

$auth_admin = new auth_admin();

		$auth_admin = new auth_admin();




$user->add_lang('acp/permissions');
add_permission_language();

$this->tpl_name = 'acp_permissions';


$user->add_lang('acp/permissions');
add_permission_language();

$this->tpl_name = 'acp_permissions';

 

$this->permissions = $phpbb_container->get('acl.permissions');


// Trace has other vars
if ($mode == 'trace')


// Trace has other vars
if ($mode == 'trace')

Line 676Line 676
	/**
* Apply permissions
*/

	/**
* Apply permissions
*/

	function set_permissions($mode, $permission_type, &$auth_admin, &$user_id, &$group_id)

	function set_permissions($mode, $permission_type, $auth_admin, &$user_id, &$group_id)

	{
global $db, $cache, $user, $auth;
global $request;

	{
global $db, $cache, $user, $auth;
global $request;

Line 765Line 765
	/**
* Apply all permissions
*/

	/**
* Apply all permissions
*/

	function set_all_permissions($mode, $permission_type, &$auth_admin, &$user_id, &$group_id)

	function set_all_permissions($mode, $permission_type, $auth_admin, &$user_id, &$group_id)

	{
global $db, $cache, $user, $auth;
global $request;

	{
global $db, $cache, $user, $auth;
global $request;

Line 881Line 881
	/**
* Remove permissions
*/

	/**
* Remove permissions
*/

	function remove_permissions($mode, $permission_type, &$auth_admin, &$user_id, &$group_id, &$forum_id)

	function remove_permissions($mode, $permission_type, $auth_admin, &$user_id, &$group_id, &$forum_id)

	{
global $user, $db, $cache, $auth;


	{
global $user, $db, $cache, $auth;