mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 06:20:46 +02:00
Cache moderator names? Output moderators for all forums in viewforum. Alter a few things in templates
git-svn-id: file:///svn/phpbb/trunk@3061 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -104,6 +104,8 @@ if (isset($_POST['update']))
|
||||
$auth_admin->acl_set($_POST['type'], $forum_id, $id, $_POST['option']);
|
||||
}
|
||||
|
||||
cache_moderators();
|
||||
|
||||
trigger_error('Permissions updated successfully');
|
||||
}
|
||||
else if (isset($_POST['delete']))
|
||||
@@ -135,6 +137,8 @@ else if (isset($_POST['delete']))
|
||||
$auth_admin->acl_delete($_POST['type'], $forum_id, $id, $option_ids);
|
||||
}
|
||||
|
||||
cache_moderators();
|
||||
|
||||
trigger_error('Permissions updated successfully');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user