From: Michael M Slusarz Date: Tue, 18 Nov 2008 21:00:33 +0000 (-0700) Subject: Use Horde_Crypt to instantiate. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=04e0b4d005f8ce4a99d8b0f194588ab8ed881190;p=horde.git Use Horde_Crypt to instantiate. --- diff --git a/imp/pgp.php b/imp/pgp.php index 92a340def..740370353 100644 --- a/imp/pgp.php +++ b/imp/pgp.php @@ -90,9 +90,8 @@ function _textWindowOutput($filename, $msg) } require_once dirname(__FILE__) . '/lib/base.php'; -require_once IMP_BASE . '/lib/Crypt/PGP.php'; -$imp_pgp = new IMP_PGP(); +$imp_pgp = &Horde_Crypt::singleton(array('imp', 'pgp')); $secure_check = $imp_pgp->requireSecureConnection(); /* Run through the action handlers */