ws
authorJan Schneider <jan@horde.org>
Tue, 4 Aug 2009 21:33:24 +0000 (23:33 +0200)
committerJan Schneider <jan@horde.org>
Wed, 5 Aug 2009 15:23:06 +0000 (17:23 +0200)
ansel/lib/Api.php

index 86c14bb..810846f 100644 (file)
@@ -496,10 +496,10 @@ class Ansel_Api extends Horde_Registry_Api
         if (($GLOBALS['conf']['comments']['allow'] == 'all' ||
             ($GLOBALS['conf']['comments']['allow'] == 'authenticated' &&
             Horde_Auth::getAuth()))) {
-                return true;
-            } else {
-                return false;
-            }
+            return true;
+        } else {
+            return false;
+        }
     }
 
     /**