diff options
author | redmatrix <git@macgirvin.com> | 2016-06-19 19:12:33 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-19 19:12:33 -0700 |
commit | fb61c4fb3497d3751bb43f12cadee9e9c7776be9 (patch) | |
tree | 604989e10424456783fccff1fccc5b14da26db7f /include/BaseObject.php | |
parent | bfaabfb7b5ff639992a01b0e1fc374cd43d536e9 (diff) | |
parent | 4578649f758e65f1d87ebb98da7cd891d0b90d0d (diff) | |
download | volse-hubzilla-fb61c4fb3497d3751bb43f12cadee9e9c7776be9.tar.gz volse-hubzilla-fb61c4fb3497d3751bb43f12cadee9e9c7776be9.tar.bz2 volse-hubzilla-fb61c4fb3497d3751bb43f12cadee9e9c7776be9.zip |
Merge branch '1.8RC'
Diffstat (limited to 'include/BaseObject.php')
-rw-r--r-- | include/BaseObject.php | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/include/BaseObject.php b/include/BaseObject.php deleted file mode 100644 index a88978a83..000000000 --- a/include/BaseObject.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php /** @file */ - -if(class_exists('BaseObject')) - return; - -require_once('boot.php'); - -/** - * Basic object - * - * Contains what is usefull to any object - */ -class BaseObject { - private static $app = null; - - /** - * Get the app - * - * Same as get_app from boot.php - */ - public function get_app() { - if(self::$app) - return self::$app; - - global $a; - self::$app = $a; - - return self::$app; - } - - /** - * Set the app - */ - public static function set_app($app) { - self::$app = $app; - } -} - |