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