diff options
author | Vjacheslav Trushkin <arty@phpbb.com> | 2012-02-18 16:35:43 +0200 |
---|---|---|
committer | Vjacheslav Trushkin <arty@phpbb.com> | 2012-02-18 16:35:43 +0200 |
commit | 162f9b738aaa74684ea42e3ce4d6a911a183a996 (patch) | |
tree | 417dd79d9173e5fb95c40ff25af54923d28d26c0 /phpBB/includes/acp/acp_main.php | |
parent | 625a1f2b20e77cbec4dd36605d4d3bf6e3273928 (diff) | |
download | forums-162f9b738aaa74684ea42e3ce4d6a911a183a996.tar forums-162f9b738aaa74684ea42e3ce4d6a911a183a996.tar.gz forums-162f9b738aaa74684ea42e3ce4d6a911a183a996.tar.bz2 forums-162f9b738aaa74684ea42e3ce4d6a911a183a996.tar.xz forums-162f9b738aaa74684ea42e3ce4d6a911a183a996.zip |
[feature/purge-cache] Allow all admins to purge cache
Allow all administrators to purge cache
PHPBB3-10659
Diffstat (limited to 'phpBB/includes/acp/acp_main.php')
-rw-r--r-- | phpBB/includes/acp/acp_main.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index b30c294ce2..7cdf734973 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -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(); |