From: Michael M Slusarz Date: Wed, 2 Dec 2009 01:42:44 +0000 (-0700) Subject: Bug #8743: System tasks are always run, and may need init. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2fb2186e58295f81555ea26af7af2e35c1dcb790;p=horde.git Bug #8743: System tasks are always run, and may need init. --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index 7e6f9b64e..0a0b84616 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -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';