From: Michael M Slusarz Date: Tue, 13 Apr 2010 06:13:19 +0000 (-0600) Subject: Fix function location X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=357dcb4d1ecb9adfe8513551928f23485dfe1497;p=horde.git Fix function location --- diff --git a/imp/lib/Crypt/Pgp.php b/imp/lib/Crypt/Pgp.php index f5266606a..d6c115c09 100644 --- a/imp/lib/Crypt/Pgp.php +++ b/imp/lib/Crypt/Pgp.php @@ -177,7 +177,7 @@ class IMP_Crypt_Pgp extends Horde_Crypt_Pgp } /* Try retrieving by e-mail only first. */ - $params = Horde_Core_Prefs_Utils::getAddressbookSearchParams(); + $params = IMP::getAddressbookSearchParams(); try { $result = $GLOBALS['registry']->call('contacts/getField', array($address, self::PUBKEY_FIELD, $params['sources'], false, true)); } catch (Horde_Exception $e) { diff --git a/imp/lib/Crypt/Smime.php b/imp/lib/Crypt/Smime.php index 76e144503..5b2b0fb3d 100644 --- a/imp/lib/Crypt/Smime.php +++ b/imp/lib/Crypt/Smime.php @@ -207,7 +207,7 @@ class IMP_Crypt_Smime extends Horde_Crypt_Smime */ public function deletePublicKey($email) { - $params = Horde_Core_Prefs_Utils::getAddressbookSearchParams(); + $params = IMP::getAddressbookSearchParams(); $GLOBALS['registry']->call('contacts/deleteField', array($email, self::PUBKEY_FIELD, $params['sources'])); }