Hide another idle message
This commit is contained in:
parent
664b17190a
commit
66a92a5f43
1 changed files with 2 additions and 2 deletions
|
@ -763,8 +763,8 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) {
|
||||||
var intervalMinutes = Zotero.Prefs.get('backup.interval');
|
var intervalMinutes = Zotero.Prefs.get('backup.interval');
|
||||||
var interval = intervalMinutes * 60 * 1000;
|
var interval = intervalMinutes * 60 * 1000;
|
||||||
if ((now - lastBackupTime) < interval) {
|
if ((now - lastBackupTime) < interval) {
|
||||||
Zotero.debug("Last backup of database '" + this._dbName
|
//Zotero.debug("Last backup of database '" + this._dbName
|
||||||
+ "' was less than " + intervalMinutes + " minutes ago -- skipping backup");
|
// + "' was less than " + intervalMinutes + " minutes ago -- skipping backup");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue