diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js index 18b23b3a68..20a8933a1e 100644 --- a/chrome/content/zotero/xpcom/file.js +++ b/chrome/content/zotero/xpcom/file.js @@ -331,8 +331,10 @@ Zotero.File = new function(){ * Return the contents of a URL as a string * * Runs synchronously, so should only be run on local (e.g. chrome) URLs + * @deprecated */ function getContentsFromURL(url) { + Zotero.debug('File.getContentsFromURL() is deprecated. Use File.getContentsFromURLAsync()'); var xmlhttp = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"] .createInstance(); xmlhttp.open('GET', url, false);