www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit d2d7f2368cc0d7cce3fff879a93d0dfbcd7a874a
parent 9765d06d1dcd67107acb391c59a13da40ccf6a76
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  4 Feb 2016 03:51:41 -0500

Remove 'version' workaround now that field is named 'versionNumber'

Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -1806,10 +1806,6 @@ Zotero.Utilities = { var textMappings = CSL_TEXT_MAPPINGS[variable]; for(var i=0; i<textMappings.length; i++) { var field = textMappings[i]; - - // Until 5.0, use version instead of versionNumber - if (field == 'versionNumber') field = 'version'; - var fieldID = Zotero.ItemFields.getID(field); if(Zotero.ItemFields.isBaseField(fieldID)) {