From 04e0b4d005f8ce4a99d8b0f194588ab8ed881190 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 18 Nov 2008 14:00:33 -0700 Subject: [PATCH] Use Horde_Crypt to instantiate. --- imp/pgp.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 */ -- 2.11.0