mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +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:
@@ -83,7 +83,6 @@ else
|
||||
}
|
||||
|
||||
$user = new user();
|
||||
$cache = new acm();
|
||||
$db = new $sql_db();
|
||||
|
||||
// Connect to DB
|
||||
@@ -652,7 +651,7 @@ _write_result($no_updates, $errored, $error_ary);
|
||||
if (!$inline_update)
|
||||
{
|
||||
// Purge the cache...
|
||||
$cache->purge();
|
||||
phpbb::$acm->purge();
|
||||
?>
|
||||
|
||||
<p style="color:red"><?php echo $lang['UPDATE_FILES_NOTICE']; ?></p>
|
||||
@@ -676,7 +675,7 @@ else
|
||||
add_log('admin', 'LOG_UPDATE_DATABASE', $orig_version, $updates_to_version);
|
||||
|
||||
// Now we purge the session table as well as all cache files
|
||||
$cache->purge();
|
||||
phpbb::$acm->purge();
|
||||
|
||||
?>
|
||||
|
||||
|
Reference in New Issue
Block a user