Cap numBackups at 24

This commit is contained in:
Dan Stillman 2009-02-23 02:40:17 +00:00
parent dd230b278b
commit df8e1f15f8

View file

@ -725,6 +725,9 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) {
Zotero.debug("Backups disabled");
return false;
}
if (numBackups > 24) {
numBackups = 24;
}
}
if (this.transactionInProgress()) {