phpBB

Code Changes

File: includes/acp/acp_permissions.php

  Unmodified   Added   Modified   Removed
Line 30Line 30
		global $db, $user, $auth, $template, $cache, $phpbb_container;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;


		global $db, $user, $auth, $template, $cache, $phpbb_container;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;


		include_once($phpbb_root_path . 'includes/functions_user.' . $phpEx);
include_once($phpbb_root_path . 'includes/acp/auth.' . $phpEx);








		if (!function_exists('user_get_id_name'))
{
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
}

if (!class_exists('auth_admin'))
{
include($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
}


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



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


Line 748Line 755

$this->log_action($mode, 'add', $permission_type, $ug_type, $ug_id, $forum_id);



$this->log_action($mode, 'add', $permission_type, $ug_type, $ug_id, $forum_id);


 
		meta_refresh(5, $this->u_action);

		trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
}


		trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
}


Line 818Line 826

if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
{


if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
{

 
			meta_refresh(5, $this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids));

			trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids)));
}
else
{

			trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids)));
}
else
{

 
			meta_refresh(5, $this->u_action);

			trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
}
}

			trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
}
}

Line 892Line 902

if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
{


if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
{

 
			meta_refresh(5, $this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id));

			trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id)));
}
else
{

			trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id)));
}
else
{

 
			meta_refresh(5, $this->u_action);

			trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
}
}

			trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
}
}