From 570901ba4e526be37afd0cbbe018cb0500a7cda1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Sep 2011 01:22:27 -0400 Subject: Refactor a bit * move a lot of stuff out of MessageManager * move models from lib to models --- src/controllers/Plugins.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/controllers/Plugins.class.php') diff --git a/src/controllers/Plugins.class.php b/src/controllers/Plugins.class.php index 597cd19..40d3fc0 100644 --- a/src/controllers/Plugins.class.php +++ b/src/controllers/Plugins.class.php @@ -1,12 +1,12 @@ isLoggedIn(); - if ($uid===false || !$m->getAuthObj($uid)->isAdim()) { + $uid = Login::isLoggedIn(); + if ($uid===false || !Auth::getObj($uid)->isAdmin()) { $this->http401($routed, $remainder); return; } -- cgit v1.2.3-2-g168b