mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
Permission related updates ... is still not final but is getting there ... faster than British Rail too
git-svn-id: file:///svn/phpbb/trunk@2943 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
if (!empty($setmodules))
|
||||
{
|
||||
if (!$auth->get_acl_admin('forum'))
|
||||
if (!$auth->acl_get('a_forum'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -43,7 +43,7 @@ include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
|
||||
//
|
||||
// Do we have forum admin permissions?
|
||||
//
|
||||
if (!$auth->get_acl_admin('forum'))
|
||||
if (!$auth->acl_get('a_forum'))
|
||||
{
|
||||
message_die(MESSAGE, $lang['No_admin']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user