Bug #8916: Remove unneeded (and no longer existing) replace() call
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Mar 2010 17:44:18 +0000 (11:44 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Mar 2010 17:44:18 +0000 (11:44 -0600)
imp/lib/Crypt/Pgp.php
imp/lib/Crypt/Smime.php

index 7879364..f359ffd 100644 (file)
@@ -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();
index fd97566..03af537 100644 (file)
@@ -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();