]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
do not need to initialize globals in installer because they are now declared that...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 15 May 2011 22:39:43 +0000 (22:39 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 15 May 2011 22:39:43 +0000 (22:39 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9092 36083f99-b078-4883-b0ff-0f9b5a30f544

install/ElggInstaller.php

index 8da898428c6c53d2f66995c7d2321b6724716e22..68c88f620c3f09fd245eb6db840594489f14a0a2 100644 (file)
@@ -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();
-       }
 }