From fc2852d4c1a337f1d2f83362ef93d4429a8139f5 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 11 Feb 2010 21:44:43 -0700 Subject: [PATCH] Identity:: -> Horde_Prefs_Identity:: --- whups/lib/Mail.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/whups/lib/Mail.php b/whups/lib/Mail.php index 07dc6337c..f7c3dc339 100644 --- a/whups/lib/Mail.php +++ b/whups/lib/Mail.php @@ -211,13 +211,11 @@ class Whups_Mail { { global $conf; - require_once 'Horde/Identity.php'; + $auth = Horde_Auth::singleton($conf['auth']['driver'], Horde::getDriverConfig('auth', $conf['auth']['driver'])); - $params = Horde::getDriverConfig('auth', $conf['auth']['driver']); - $auth = Horde_Auth::singleton($conf['auth']['driver'], $params); if ($auth->hasCapability('list')) { foreach ($auth->listUsers() as $user) { - $identity = &Identity::singleton('none', $user); + $identity = Horde_Prefs_Identity::singleton('none', $user); $addrs = $identity->getAll('from_addr'); foreach ($addrs as $addr) { if (strcasecmp($from, $addr) == 0) { -- 2.11.0