commit 78dd74f391b44d236fe3313a6f08da8c04351099
parent ef7a3f01210e6e1013d1ab1cf3bc93427534e10a
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 29 Oct 2012 17:32:31 -0400
Remove corruption check, since it's no longer necessary and likely to be wrong
Diffstat:
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js
@@ -41,18 +41,6 @@ const ZoteroStandalone = new function() {
ZoteroPane.init();
ZoteroPane.makeVisible();
- // Run check for corrupt installation, where the wrong Gecko runtime is being used
- if(Zotero.isMac && Zotero.isStandalone) {
- var greDir = Components.classes["@mozilla.org/file/directory_service;1"]
- .getService(Components.interfaces.nsIProperties)
- .get("GreD", Components.interfaces.nsIFile);
- if(greDir.isSymlink() || greDir.leafName !== "Current") {
- var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
- .getService(Components.interfaces.nsIPromptService);
- ps.alert(null, "", Zotero.getString('standalone.corruptInstallation'));
- }
- }
-
// Don't ask before handing http and https URIs
var eps = Components.classes['@mozilla.org/uriloader/external-protocol-service;1']
.getService(Components.interfaces.nsIExternalProtocolService);