aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-15 22:39:43 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-15 22:39:43 +0000
commitd45a50258f2f33bf153f67d0495a3b7e0062a683 (patch)
tree76c2a51e817242da616ba1eb470e303e835efe87
parentebd509e69cb5c95922fe2f813cd546cb5b74a742 (diff)
downloadelgg-d45a50258f2f33bf153f67d0495a3b7e0062a683.tar.gz
elgg-d45a50258f2f33bf153f67d0495a3b7e0062a683.tar.bz2
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
-rw-r--r--install/ElggInstaller.php17
1 files changed, 0 insertions, 17 deletions
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();
- }
}