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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user