From 78dd74f391b44d236fe3313a6f08da8c04351099 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 29 Oct 2012 17:32:31 -0400 Subject: [PATCH] Remove corruption check, since it's no longer necessary and likely to be wrong --- chrome/content/zotero/standalone/standalone.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index fa0977487..0d6e66698 100644 --- 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);