www

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

commit 13de37cea7b7aa84b2fc4d07d1476268444132c9
parent 20d649ee42bcfad1d9d47748ff8d259fec9b1c5a
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue,  1 Jul 2008 20:44:43 +0000

Set auto-sync expiry to September 1, 2008


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

diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -381,6 +381,12 @@ Zotero.Sync.Server = new function () { this.setSyncIcon = setSyncIcon; this.__defineGetter__('enabled', function () { + // Set auto-sync expiry + var expiry = new Date("September 1, 2008 00:00:00"); + if (new Date() > expiry) { + return false; + } + return this.username && this.password; });