Operator: Fix Registry#pushApp() call
authorBen Klang <ben@alkaloid.net>
Wed, 13 Jan 2010 15:12:06 +0000 (10:12 -0500)
committerBen Klang <ben@alkaloid.net>
Wed, 13 Jan 2010 15:14:30 +0000 (10:14 -0500)
operator/lib/Application.php

index c686f96..1e9b232 100644 (file)
@@ -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();