aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_main.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2012-02-18 16:35:43 +0200
committerVjacheslav Trushkin <arty@phpbb.com>2012-02-18 16:35:43 +0200
commit162f9b738aaa74684ea42e3ce4d6a911a183a996 (patch)
tree417dd79d9173e5fb95c40ff25af54923d28d26c0 /phpBB/includes/acp/acp_main.php
parent625a1f2b20e77cbec4dd36605d4d3bf6e3273928 (diff)
downloadforums-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.php5
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();