www

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

commit df8e1f15f85efddc4ff21ce180b1dfe9890336dc
parent dd230b278b092cffe204750c5d09177b2781265f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 23 Feb 2009 02:40:17 +0000

Cap numBackups at 24


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

diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js @@ -725,6 +725,9 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) { Zotero.debug("Backups disabled"); return false; } + if (numBackups > 24) { + numBackups = 24; + } } if (this.transactionInProgress()) {