Bug #8743: System tasks are always run, and may need init.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 2 Dec 2009 01:42:44 +0000 (18:42 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 2 Dec 2009 01:42:44 +0000 (18:42 -0700)
framework/Core/lib/Horde/Registry.php

index 7e6f9b6..0a0b846 100644 (file)
@@ -915,8 +915,7 @@ class Horde_Registry
         } catch (Horde_Exception_HookNotSet $e) {}
 
         /* Initialize application. */
-        if (!empty($options['init']) ||
-            ($checkPerms && !empty($options['logintasks']))) {
+        if ($checkPerms || !empty($options['init'])) {
             if (file_exists($app_lib . '/base.php')) {
                 // TODO: Remove once there is no more base.php files
                 require_once $app_lib . '/base.php';