aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_main.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-03-30 19:34:08 -0400
committerDavid King <imkingdavid@gmail.com>2012-03-30 19:34:08 -0400
commit4f97cc12951b2be6fa8d7962beaf631f7c82fb43 (patch)
treedcc2bdda5fd3368eedd3e42056e8de31d7de4b02 /phpBB/includes/acp/acp_main.php
parent0f93e0c719373452d9d0ac9fd2ab1dfe6f3b41aa (diff)
parent162f9b738aaa74684ea42e3ce4d6a911a183a996 (diff)
downloadforums-4f97cc12951b2be6fa8d7962beaf631f7c82fb43.tar
forums-4f97cc12951b2be6fa8d7962beaf631f7c82fb43.tar.gz
forums-4f97cc12951b2be6fa8d7962beaf631f7c82fb43.tar.bz2
forums-4f97cc12951b2be6fa8d7962beaf631f7c82fb43.tar.xz
forums-4f97cc12951b2be6fa8d7962beaf631f7c82fb43.zip
Merge remote-tracking branch 'cyberalien/feature/purge-cache' into develop
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 88c29702d4..4c9ee85982 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();