Take out unnecessary <Fx23 test

This commit is contained in:
Dan Stillman 2013-08-10 00:00:05 -04:00
parent 79d55a32ce
commit 2c424c2b58

View file

@ -811,12 +811,11 @@ Zotero.Sync.Storage = new function () {
var numItems = items.length; var numItems = items.length;
var updatedStates = {}; var updatedStates = {};
// OS.File didn't work reliably before Firefox 23, and on Windows it returns // On Windows, OS.File returns the access time instead of the
// the access time instead of the modification time until Firefox 25 // modification time until Firefox 25
// (https://bugzilla.mozilla.org/show_bug.cgi?id=899436), // (https://bugzilla.mozilla.org/show_bug.cgi?id=899436),
// so use the old code // so use the old code
if (Zotero.platformMajorVersion < 23 if (Zotero.isWin && Zotero.platformMajorVersion < 25) {
|| (Zotero.isWin && Zotero.platformMajorVersion < 25)) {
Zotero.debug("Performing synchronous file update check"); Zotero.debug("Performing synchronous file update check");
for each(var item in items) { for each(var item in items) {