From: Michael M Slusarz Date: Tue, 4 Aug 2009 19:15:14 +0000 (-0600) Subject: Authentication check is now handled in services/prefs.php X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8cfaa810e55e95a0f9c2dcdcd90c0b5ecdac4c9d;p=horde.git Authentication check is now handled in services/prefs.php --- 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);