1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/purge-cache] Allow all admins to purge cache

Allow all administrators to purge cache

PHPBB3-10659
This commit is contained in:
Vjacheslav Trushkin
2012-02-18 16:35:43 +02:00
parent 625a1f2b20
commit 162f9b738a
2 changed files with 2 additions and 6 deletions

View File

@@ -330,11 +330,6 @@ class acp_main
break;
case 'purge_cache':
if ((int) $user->data['user_type'] !== USER_FOUNDER)
{
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
}
global $cache;
$cache->purge();