More antiquated code cleanup

This commit is contained in:
Simon Kornblith 2012-02-10 01:46:47 -05:00
parent 9d7509ae13
commit db89c65596

View file

@ -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();
});