diff options
author | friendica <info@friendica.com> | 2012-10-22 20:07:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-10-22 20:07:40 -0700 |
commit | d9c947663ce2d1361c73b1b0fcb82586dac5a1ab (patch) | |
tree | cdb9456594d14cd3885245f7605d980fba6c58a0 /object/BaseObject.php | |
parent | 88be2eaaae55c79111d5e209eb823e6fd1e64f9c (diff) | |
download | volse-hubzilla-d9c947663ce2d1361c73b1b0fcb82586dac5a1ab.tar.gz volse-hubzilla-d9c947663ce2d1361c73b1b0fcb82586dac5a1ab.tar.bz2 volse-hubzilla-d9c947663ce2d1361c73b1b0fcb82586dac5a1ab.zip |
mv objects from object dir to include where they belong
Diffstat (limited to 'object/BaseObject.php')
-rw-r--r-- | object/BaseObject.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/object/BaseObject.php b/object/BaseObject.php deleted file mode 100644 index 14f0d8fd0..000000000 --- a/object/BaseObject.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php -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; - } -} -?> |