X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=object%2FBaseObject.php;h=15c7d8dc652dbd0bcc05dcce1ac2ad5db6cc123b;hb=ab60641e3ba731aca42ab510bdf9c2411db6aab4;hp=14f0d8fd083a398c6a7af1953d2551c9cd1b782b;hpb=51802b0ae828c0b2e01b27523f271431e47aff6d;p=friendica.git diff --git a/object/BaseObject.php b/object/BaseObject.php index 14f0d8fd08..15c7d8dc65 100644 --- a/object/BaseObject.php +++ b/object/BaseObject.php @@ -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; } } -?>