Authentication check is now handled in services/prefs.php
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 4 Aug 2009 19:15:14 +0000 (13:15 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 4 Aug 2009 19:23:18 +0000 (13:23 -0600)
imp/lib/Api.php

index 4306845..6625287 100644 (file)
@@ -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);