]> git.mxchange.org Git - friendica.git/blobdiff - object/BaseObject.php
Rename include/Scrape to include/probe
[friendica.git] / object / BaseObject.php
index 14f0d8fd083a398c6a7af1953d2551c9cd1b782b..15c7d8dc652dbd0bcc05dcce1ac2ad5db6cc123b 100644 (file)
@@ -14,15 +14,14 @@ class BaseObject {
 
        /**
         * Get the app
-        * 
+        *
         * Same as get_app from boot.php
         */
        public function get_app() {
                if(self::$app)
                        return self::$app;
 
-               global $a;
-               self::$app = $a;
+               self::$app = get_app();
 
                return self::$app;
        }
@@ -34,4 +33,3 @@ class BaseObject {
                self::$app = $app;
        }
 }
-?>