From 734d05477d921d7c09facbbc48e2000266c0dcc6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 23 Feb 2009 04:27:58 +0000 Subject: [PATCH] Don't show debug message every 10 seconds of idle --- 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 index 330923030c..3591f2132b 100644 --- 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; }