From: Michael M Slusarz Date: Thu, 18 Mar 2010 17:44:18 +0000 (-0600) Subject: Bug #8916: Remove unneeded (and no longer existing) replace() call X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=81124deca8a7e6bed2f1c637990316da5d21406f;p=horde.git Bug #8916: Remove unneeded (and no longer existing) replace() call --- 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();