From 81124deca8a7e6bed2f1c637990316da5d21406f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 18 Mar 2010 11:44:18 -0600 Subject: [PATCH] Bug #8916: Remove unneeded (and no longer existing) replace() call --- imp/lib/Crypt/Pgp.php | 4 ---- imp/lib/Crypt/Smime.php | 4 ---- 2 files changed, 8 deletions(-) diff --git a/imp/lib/Crypt/Pgp.php b/imp/lib/Crypt/Pgp.php index 78793641e..f359ffd01 100644 --- a/imp/lib/Crypt/Pgp.php +++ b/imp/lib/Crypt/Pgp.php @@ -630,10 +630,6 @@ class IMP_Crypt_Pgp extends Horde_Crypt_Pgp */ public function importKeyDialog($target, $reload) { - /* Need to handle notifications inline, and need to set explicitly - * since the popup window is not part of the preferences framework. */ - $GLOBALS['notification']->replace('status', array('prefs' => true, 'viewmode' => 'imp'), 'IMP_Notification_Listener_Status'); - $title = _("Import PGP Key"); require IMP_TEMPLATES . '/common-header.inc'; IMP::status(); diff --git a/imp/lib/Crypt/Smime.php b/imp/lib/Crypt/Smime.php index fd9756605..03af537ef 100644 --- a/imp/lib/Crypt/Smime.php +++ b/imp/lib/Crypt/Smime.php @@ -466,10 +466,6 @@ class IMP_Crypt_Smime extends Horde_Crypt_Smime */ public function importKeyDialog($target, $reload) { - /* Need to handle notifications inline, and need to set explicitly - * since the popup window is not part of the preferences framework. */ - $GLOBALS['notification']->replace('status', array('prefs' => true, 'viewmode' => 'imp'), 'IMP_Notification_Listener_Status'); - $title = _("Import S/MIME Key"); require IMP_TEMPLATES . '/common-header.inc'; IMP::status(); -- 2.11.0