diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-28 13:27:58 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-28 13:27:58 +0000 |
commit | 889fa871402814874d5d4f01b2f1c829d8206eb9 (patch) | |
tree | ce3d6b9c23a6df118c1458cc7adeafa10ffde5a8 /phpBB/modules/acp/acp_ranks.php | |
parent | fbaf2baa8d683a2afdd3cf98ea1e7c035369f1a3 (diff) | |
download | forums-889fa871402814874d5d4f01b2f1c829d8206eb9.tar forums-889fa871402814874d5d4f01b2f1c829d8206eb9.tar.gz forums-889fa871402814874d5d4f01b2f1c829d8206eb9.tar.bz2 forums-889fa871402814874d5d4f01b2f1c829d8206eb9.tar.xz forums-889fa871402814874d5d4f01b2f1c829d8206eb9.zip |
implement new phpbb::$acm object, replacing $cache global
git-svn-id: file:///svn/phpbb/trunk@9240 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/modules/acp/acp_ranks.php')
-rw-r--r-- | phpBB/modules/acp/acp_ranks.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/modules/acp/acp_ranks.php b/phpBB/modules/acp/acp_ranks.php index d779132d6e..64ed46cc96 100644 --- a/phpBB/modules/acp/acp_ranks.php +++ b/phpBB/modules/acp/acp_ranks.php @@ -25,7 +25,7 @@ class acp_ranks function main($id, $mode) { - global $db, $user, $auth, $template, $cache, $config; + global $db, $user, $auth, $template, $config; $user->add_lang('acp/posting'); @@ -88,7 +88,7 @@ class acp_ranks } $db->sql_query($sql); - $cache->destroy('_ranks'); + phpbb::$acm->destroy('ranks'); trigger_error($message . adm_back_link($this->u_action)); @@ -119,7 +119,7 @@ class acp_ranks WHERE user_rank = $rank_id"; $db->sql_query($sql); - $cache->destroy('_ranks'); + phpbb::$acm->destroy('ranks'); add_log('admin', 'LOG_RANK_REMOVED', $rank_title); } |