X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=object%2FBaseObject.php;h=2666dc1de572816a01ec53d4522288392e8c5424;hb=4aafbb09a539069b6e07673208d107c83ff0e1ab;hp=14f0d8fd083a398c6a7af1953d2551c9cd1b782b;hpb=d817117f6e43ad2ce6957798681f6e4133433f52;p=friendica.git diff --git a/object/BaseObject.php b/object/BaseObject.php index 14f0d8fd08..2666dc1de5 100644 --- a/object/BaseObject.php +++ b/object/BaseObject.php @@ -21,8 +21,7 @@ class BaseObject { if(self::$app) return self::$app; - global $a; - self::$app = $a; + self::$app = get_app(); return self::$app; }