diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-15 01:19:55 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-15 16:50:28 -0500 |
commit | 5c496674f63b31e892d0f3bed7921feb947ed839 (patch) | |
tree | c0313b6e6cc99d24ce4ad440f124d226231cef90 /phpBB/includes/acp/acp_styles.php | |
parent | b6778802b3784da34db4890eabd6c64100a385fc (diff) | |
download | forums-5c496674f63b31e892d0f3bed7921feb947ed839.tar forums-5c496674f63b31e892d0f3bed7921feb947ed839.tar.gz forums-5c496674f63b31e892d0f3bed7921feb947ed839.tar.bz2 forums-5c496674f63b31e892d0f3bed7921feb947ed839.tar.xz forums-5c496674f63b31e892d0f3bed7921feb947ed839.zip |
[ticket/10758] Dependency inject parameters into cache_moderators.
Also add phpbb prefix since the signature is being changed anyway.
PHPBB3-10758
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index db77825ae7..266495972b 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -137,11 +137,13 @@ class acp_styles */ protected function action_cache() { + global $db, $cache, $auth; + $this->cache->purge(); // Clear permissions $this->auth->acl_clear_prefetch(); - cache_moderators(); + phpbb_cache_moderators($db, $cache, $auth); add_log('admin', 'LOG_PURGE_CACHE'); |