From db89c65596d28e7839e1607e0446ccc7454297e8 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 10 Feb 2012 01:46:47 -0500 Subject: [PATCH] More antiquated code cleanup --- chrome/content/zotero/xpcom/data/item.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index f87edff5c7..1bdd1166ff 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3294,11 +3294,6 @@ Zotero.Item.prototype.__defineGetter__('attachmentText', function () { if (cacheFile.exists()) { var str = Zotero.File.getContents(cacheFile); - // TODO: remove post-Fx3.0 - if (!str.trim) { - return Zotero.Utilities.trim(str); - } - return str.trim(); } return ''; @@ -3355,11 +3350,6 @@ Zotero.Item.prototype.__defineGetter__('attachmentText', function () { return ''; } - // TODO: remove post-Fx3.0 - if (!str.trim) { - return Zotero.Utilities.trim(str); - } - return str.trim(); });