[Pkg-mozext-commits] [gcontactsync] 05/11: Issue #65: Obsolete Extension Manager API

David Prévot taffit at moszumanska.debian.org
Tue Mar 24 22:41:22 UTC 2015


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

taffit pushed a commit to branch master
in repository gcontactsync.

commit b4213a4eaf9ae9bde0989363b1d5c38573973e0f
Author: Josh Geenen <joshgeenen at gmail.com>
Date:   Sun Mar 22 14:17:19 2015 -0500

    Issue #65: Obsolete Extension Manager API
---
 src/content/FileIO.js | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/content/FileIO.js b/src/content/FileIO.js
index 0960293..e2b169f 100644
--- a/src/content/FileIO.js
+++ b/src/content/FileIO.js
@@ -135,18 +135,6 @@ com.gContactSync.FileIO = {
     }
   },
   /**
-   * Gets the the file in the extension's directory with the given name.
-   * @param aName {string} The name of the file to get.
-   * @returns {nsIFile} The file with the given name in the extension's
-   *                   directory.
-   */
-  getFileInExtDir: function FileIO_getFileInExtDir(aName) {
-    var MY_ID = "gContactSync at pirules.net",
-        em    = Components.classes["@mozilla.org/extensions/manager;1"]
-                       .getService(Components.interfaces.nsIExtensionManager);
-    return em.getInstallLocation(MY_ID).getItemFile(MY_ID, aName);
-  },
-  /**
    * Returns an nsIFile of the current profile directory of the application.
    * @returns {nsIFile} The current profile directory of the application.
    */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/gcontactsync.git



More information about the Pkg-mozext-commits mailing list