From 74b1b65a818aa6566ed34c7030f3def8aef6c6bb Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Sun, 31 Jan 2010 16:01:10 -0500 Subject: [PATCH] Revert "Operator: Make sure we can access the driver when getting perms" This reverts commit 58aab31160712e15cac094f65dfc9d5b93f94f4a. --- operator/lib/Application.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/operator/lib/Application.php b/operator/lib/Application.php index c965463d7..5d6dc7952 100644 --- a/operator/lib/Application.php +++ b/operator/lib/Application.php @@ -79,10 +79,6 @@ class Operator_Application extends Horde_Registry_Application self::$_perms['tree']['operator']['accountcodes'] = false; self::$_perms['title']['operator:accountcodes'] = _("Account Codes"); - $GLOBALS['operator'] = $this; - if (empty($this->driver)) { - $this->_init(); - } $accountcodes = Operator::getAccountCodes(); foreach ($accountcodes as $accountcode) { self::$_perms['tree']['operator']['accountcodes'][$accountcode] = false; -- 2.11.0