From: Ben Klang Date: Wed, 13 Jan 2010 15:12:06 +0000 (-0500) Subject: Operator: Fix Registry#pushApp() call X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a2cddcd2dd2ac46b6a99d308705ea4933da6ad9d;p=horde.git Operator: Fix Registry#pushApp() call --- diff --git a/operator/lib/Application.php b/operator/lib/Application.php index c686f965e..1e9b232ed 100644 --- a/operator/lib/Application.php +++ b/operator/lib/Application.php @@ -39,12 +39,13 @@ class Operator_Application extends Horde_Registry_Application public function __construct($args = array()) { if (!empty($args['init'])) { + // Registry. $GLOBALS['registry'] = Horde_Registry::singleton(); $registry = &$GLOBALS['registry']; try { - $registry->pushApp('operator', !defined('AUTH_HANDLER')); + $registry->pushApp('operator'); } catch (Horde_Exception $e) { if ($e->getCode() == 'permission_denied') { Horde::authenticationFailureRedirect();