[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 228/483: Removed EHH.shutdown() method, no longer used now that ABP won't disable without restart

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 33d58c73cb342e423e574512313555ba9ea08ac2
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Oct 22 10:15:04 2010 +0200

    Removed EHH.shutdown() method, no longer used now that ABP won't disable without restart
---
 modules/ABPIntegration.jsm | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/modules/ABPIntegration.jsm b/modules/ABPIntegration.jsm
index fa8d7a7..85f771f 100644
--- a/modules/ABPIntegration.jsm
+++ b/modules/ABPIntegration.jsm
@@ -72,25 +72,6 @@ var EHH =
   startup: function()
   {
     EHH.initialized = true;
-  },
-
-  shutdown: function(/**Boolean*/ cleanup)
-  {
-    if (cleanup)
-    {
-      EHH.initialized = false;
-
-      // Close all our windows
-      let enumerator = Cc["@mozilla.org/appshell/window-mediator;1"]
-                         .getService(Ci.nsIWindowMediator)
-                         .getEnumerator("ehh:composer");
-      while (enumerator.hasMoreElements())
-      {
-        let wnd = enumerator.getNext();
-        if (wnd instanceof Ci.nsIDOMWindowInternal && !wnd.closed)
-          wnd.close();
-      }
-    }
   }
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list