From d45a50258f2f33bf153f67d0495a3b7e0062a683 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 15 May 2011 22:39:43 +0000 Subject: do not need to initialize globals in installer because they are now declared that way in Elgg core libs git-svn-id: http://code.elgg.org/elgg/trunk@9092 36083f99-b078-4883-b0ff-0f9b5a30f544 --- install/ElggInstaller.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'install') diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php index 8da898428..68c88f620 100644 --- a/install/ElggInstaller.php +++ b/install/ElggInstaller.php @@ -784,8 +784,6 @@ class ElggInstaller { } } - $this->initGlobals(); - set_default_config(); elgg_trigger_event('boot', 'system'); @@ -1525,19 +1523,4 @@ class ElggInstaller { return TRUE; } - - /** - * Init globals because engine loaded within a function - * - * @return void - */ - protected function initGlobals() { - global $DB_QUERY_CACHE, $DB_DELAYED_QUERIES; - $DB_QUERY_CACHE = array(); - $DB_DELAYED_QUERIES = array(); - - global $METASTRINGS_CACHE, $METASTRINGS_DEADNAME_CACHE; - $METASTRINGS_CACHE = array(); - $METASTRINGS_DEADNAME_CACHE = array(); - } } -- cgit v1.2.3