projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a255c
)
Authentication check is now handled in services/prefs.php
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 4 Aug 2009 19:15:14 +0000
(13:15 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 4 Aug 2009 19:23:18 +0000
(13:23 -0600)
imp/lib/Api.php
patch
|
blob
|
history
diff --git
a/imp/lib/Api.php
b/imp/lib/Api.php
index
4306845
..
6625287
100644
(file)
--- 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);