summaryrefslogtreecommitdiff
path: root/src/lib/MessageManager.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 01:22:27 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 01:22:27 -0400
commit570901ba4e526be37afd0cbbe018cb0500a7cda1 (patch)
tree81f13e66cfd795141cac216fd2af610e877a1a31 /src/lib/MessageManager.class.php
parentad4a7ff9159c2c64cea98d7189f46fa7d6174fc2 (diff)
Refactor a bit
* move a lot of stuff out of MessageManager * move models from lib to models
Diffstat (limited to 'src/lib/MessageManager.class.php')
-rw-r--r--src/lib/MessageManager.class.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/MessageManager.class.php b/src/lib/MessageManager.class.php
index 645643e..d327eb7 100644
--- a/src/lib/MessageManager.class.php
+++ b/src/lib/MessageManager.class.php
@@ -82,18 +82,4 @@ class MessageManager {
}
return $this->base;
}
-
- public function getAuthObj($uid) {
- if (!isset($this->users[$uid])) {
- $is_group = ($this->database()->getStatus($uid)===3);
- if ($is_group) {
- require_once('Group.class.php');
- $this->users[$uid] = new Group($uid);
- } else {
- require_once('User.class.php');
- $this->users[$uid] = new User($uid);
- }
- }
- return $this->users[$uid];
- }
}