projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dbe9af
)
Operator: Fix loading perms
author
Ben Klang
<ben@alkaloid.net>
Thu, 18 Mar 2010 02:32:07 +0000
(22:32 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Thu, 18 Mar 2010 02:32:22 +0000
(22:32 -0400)
operator/lib/Operator.php
patch
|
blob
|
history
diff --git
a/operator/lib/Operator.php
b/operator/lib/Operator.php
index
f9fa948
..
70b1706
100644
(file)
--- a/
operator/lib/Operator.php
+++ b/
operator/lib/Operator.php
@@
-95,7
+95,7
@@
class Operator {
*/
public static function getAccountCodes($permfilter = false)
{
-
global $operator
;
+
$operator = $GLOBALS['registry']->getApiInstance('operator', 'application');
;
// Set up arrays for filtering
$keys = $values = $operator->driver->getAccountCodes();