1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 00:07:44 +02:00

implement new phpbb::$acm object, replacing $cache global

git-svn-id: file:///svn/phpbb/trunk@9240 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2008-12-28 13:27:58 +00:00
parent fbaf2baa8d
commit 889fa87140
57 changed files with 543 additions and 774 deletions

View File

@@ -2118,10 +2118,10 @@ function remove_comments(&$output)
*/
function cache_moderators()
{
global $db, $cache, $auth;
global $db, $auth;
// Remove cached sql results
$cache->destroy('sql', MODERATOR_CACHE_TABLE);
phpbb::$acm->destroy_sql(MODERATOR_CACHE_TABLE);
// Clear table
if ($db->truncate)