X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=object%2FBaseObject.php;h=2666dc1de572816a01ec53d4522288392e8c5424;hb=8e12b159d947fb27ad6bdd5e06e3a90c1713687e;hp=14f0d8fd083a398c6a7af1953d2551c9cd1b782b;hpb=f558a1fe8d8f67d4dd9c32f63a7b46c2bcf1a769;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; }