]> git.mxchange.org Git - friendica.git/blobdiff - object/BaseObject.php
Merge pull request #3769 from annando/show-forum-posts
[friendica.git] / object / BaseObject.php
index 5e0c61f49bbd07e8bac21b65dc716066895ee8d5..15c7d8dc652dbd0bcc05dcce1ac2ad5db6cc123b 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (class_exists('BaseObject')) {
+if(class_exists('BaseObject'))
        return;
-}
 
 require_once('boot.php');
 
@@ -15,13 +14,12 @@ class BaseObject {
 
        /**
         * Get the app
-        * 
+        *
         * Same as get_app from boot.php
         */
        public function get_app() {
-               if (self::$app) {
+               if(self::$app)
                        return self::$app;
-               }
 
                self::$app = get_app();
 
@@ -35,4 +33,3 @@ class BaseObject {
                self::$app = $app;
        }
 }
-?>