commit b39054dddae1c61a6235a7db8380099b768382ce parent df8e1f15f85efddc4ff21ce180b1dfe9890336dc Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 23 Feb 2009 04:27:58 +0000 Don't show debug message every 10 seconds of idle Diffstat:
| M | chrome/content/zotero/xpcom/db.js | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js @@ -722,7 +722,6 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) { if (!suffix) { var numBackups = Zotero.Prefs.get("backup.numBackups"); if (numBackups < 1) { - Zotero.debug("Backups disabled"); return false; } if (numBackups > 24) { @@ -756,7 +755,7 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) { var lastBackupTime = backupFile.lastModifiedTime; if (currentDBTime == lastBackupTime) { - Zotero.debug("Database '" + this._dbName + "' hasn't changed -- skipping backup"); + //Zotero.debug("Database '" + this._dbName + "' hasn't changed -- skipping backup"); return; }