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