summaryrefslogtreecommitdiff
path: root/src/lib/MessageManager.class.php
diff options
context:
space:
mode:
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];
- }
}