From 889fa871402814874d5d4f01b2f1c829d8206eb9 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 28 Dec 2008 13:27:58 +0000 Subject: implement new phpbb::$acm object, replacing $cache global git-svn-id: file:///svn/phpbb/trunk@9240 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/modules/acp/acp_database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/modules/acp/acp_database.php') diff --git a/phpBB/modules/acp/acp_database.php b/phpBB/modules/acp/acp_database.php index 9261998d80..837e7280e2 100644 --- a/phpBB/modules/acp/acp_database.php +++ b/phpBB/modules/acp/acp_database.php @@ -25,7 +25,7 @@ class acp_database function main($id, $mode) { - global $cache, $db, $user, $auth, $template, $table_prefix, $config; + global $db, $user, $auth, $template, $table_prefix, $config; $user->add_lang('acp/database'); @@ -399,7 +399,7 @@ class acp_database $close($fp); // Purge the cache due to updated data - $cache->purge(); + phpbb::$acm->purge(); add_log('admin', 'LOG_DB_RESTORE'); trigger_error($user->lang['RESTORE_SUCCESS'] . adm_back_link($this->u_action)); -- cgit v1.2.1