diff options
author | Matt Friedman <maf675@gmail.com> | 2014-10-01 00:03:54 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2014-10-01 00:03:54 -0700 |
commit | 65539df39a2649427f4208b836a65f2d8ca7b4b3 (patch) | |
tree | cfbc9a64a9f1f57b34265ae9de09046998143e02 /phpBB/includes/acp/acp_styles.php | |
parent | 8fef959418fa43e04be051012c97657225644893 (diff) | |
download | forums-65539df39a2649427f4208b836a65f2d8ca7b4b3.tar forums-65539df39a2649427f4208b836a65f2d8ca7b4b3.tar.gz forums-65539df39a2649427f4208b836a65f2d8ca7b4b3.tar.bz2 forums-65539df39a2649427f4208b836a65f2d8ca7b4b3.tar.xz forums-65539df39a2649427f4208b836a65f2d8ca7b4b3.zip |
[ticket/13121] Remove cache mode from style management module
https://tracker.phpbb.com/browse/PHPBB3-13121
PHPBB3-13121
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 2a02e3e845..42c67a88b5 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -133,33 +133,11 @@ class acp_styles $this->welcome_message('INSTALL_STYLES', 'INSTALL_STYLES_EXPLAIN'); $this->show_available(); return; - case 'cache': - $this->action_cache(); - return; } trigger_error($this->user->lang['NO_MODE'] . adm_back_link($this->u_action), E_USER_WARNING); } /** - * Purge cache - */ - protected function action_cache() - { - global $db, $cache, $auth; - - $this->config->increment('assets_version', 1); - $this->cache->purge(); - - // Clear permissions - $this->auth->acl_clear_prefetch(); - phpbb_cache_moderators($db, $cache, $auth); - - add_log('admin', 'LOG_PURGE_CACHE'); - - trigger_error($this->user->lang['PURGED_CACHE'] . adm_back_link($this->u_base_action), E_USER_NOTICE); - } - - /** * Install style(s) */ protected function action_install() |