aboutsummaryrefslogtreecommitdiffstats
path: root/include/BaseObject.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-20 22:52:47 -0700
committerredmatrix <git@macgirvin.com>2016-05-20 22:52:47 -0700
commitd8ace38041ad3ef161cf9c727c94b6ce2a00ce75 (patch)
tree80326bb033ded557c846cecafba3882459f20906 /include/BaseObject.php
parentbc20cf9fa3479be20417f78187f7302f13fbf0ec (diff)
downloadvolse-hubzilla-d8ace38041ad3ef161cf9c727c94b6ce2a00ce75.tar.gz
volse-hubzilla-d8ace38041ad3ef161cf9c727c94b6ce2a00ce75.tar.bz2
volse-hubzilla-d8ace38041ad3ef161cf9c727c94b6ce2a00ce75.zip
rework the conversation object stuff at a high level - still needs a bit of refactoring
Diffstat (limited to 'include/BaseObject.php')
-rw-r--r--include/BaseObject.php38
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;
- }
-}
-