From 8cfaa810e55e95a0f9c2dcdcd90c0b5ecdac4c9d Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 4 Aug 2009 13:15:14 -0600 Subject: [PATCH] Authentication check is now handled in services/prefs.php --- imp/lib/Api.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/imp/lib/Api.php b/imp/lib/Api.php index 43068459c..6625287ed 100644 --- a/imp/lib/Api.php +++ b/imp/lib/Api.php @@ -363,14 +363,8 @@ class IMP_Api extends Horde_Registry_Api */ public function prefsInit($group) { - /* Make sure we are authenticated here. */ - if (!Horde_Auth::isAuthenticated('imp')) { - // TODO: Handle this more gracefully? - throw new Horde_Exception(_("Not authenticated to imp")); - } - /* Add necessary javascript files here (so they are added to the - * document HEAD. */ + * document HEAD). */ switch ($group) { case 'flags': Horde::addScriptFile('colorpicker.js', 'horde', true); -- 2.11.0