mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge remote-tracking branch 'cyberalien/feature/purge-cache' into develop
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user