projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b19123
)
Hermes: Update to Auth capabilities
author
Ben Klang
<ben@alkaloid.net>
Fri, 4 Jun 2010 18:40:05 +0000
(14:40 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Fri, 4 Jun 2010 18:40:42 +0000
(14:40 -0400)
hermes/lib/Hermes.php
patch
|
blob
|
history
diff --git
a/hermes/lib/Hermes.php
b/hermes/lib/Hermes.php
index
1a927d7
..
79659be
100644
(file)
--- a/
hermes/lib/Hermes.php
+++ b/
hermes/lib/Hermes.php
@@
-162,7
+162,7
@@
class Hermes {
function getEmployeesType($enumtype = 'multienum')
{
$auth = $GLOBALS['injector']->getInstance('Horde_Auth')->getAuth();
- if (!$auth->
capabilities['list']
) {
+ if (!$auth->
hasCapability('list')
) {
return array('text', array());
}
$users = $auth->listUsers();