From e61eab9e081640fb846a6a26dd23b6912df8bc07 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Fri, 4 Jun 2010 14:40:05 -0400 Subject: [PATCH] Hermes: Update to Auth capabilities --- hermes/lib/Hermes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermes/lib/Hermes.php b/hermes/lib/Hermes.php index 1a927d7a7..79659be9d 100644 --- 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(); -- 2.11.0