[Pkg-mozext-commits] [firetray] 204/399: remove warnings from VersionChange

David Prévot taffit at alioth.debian.org
Tue Oct 29 18:23:44 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch dfsg-clean
in repository firetray.

commit d4c1da59fa4b9f46e20f075b3ba767378c0baaf4
Author: foudfou <foudil.newbie+git at gmail.com>
Date:   Fri Mar 9 00:16:06 2012 +0100

    remove warnings from VersionChange
---
 src/modules/VersionChange.jsm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/VersionChange.jsm b/src/modules/VersionChange.jsm
index e16b8a3..d80f57a 100644
--- a/src/modules/VersionChange.jsm
+++ b/src/modules/VersionChange.jsm
@@ -48,7 +48,7 @@ var VersionChange = {
     var firstrun = firetray.Utils.prefService.getBoolPref("firstrun");
 
     if (firstrun) {
-      firetray.WARN("FIRST RUN");
+      firetray.LOG("FIRST RUN");
       this.initPrefs();
       this.installHook(this.curVersion);
 
@@ -58,12 +58,12 @@ var VersionChange = {
         var versionDelta = this.versionComparator.compare(this.curVersion, installedVersion);
         if (versionDelta > 0) {
           firetray.Utils.prefService.setCharPref("installedVersion", this.curVersion);
-          firetray.WARN("UPGRADE");
+          firetray.LOG("UPGRADE");
           this.upgradeHook(this.curVersion);
         }
 
       } catch (ex) {
-        firetray.WARN("REINSTALL");
+        firetray.LOG("REINSTALL");
         this.initPrefs();
         this.reinstallHook(this.curVersion);
       }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firetray.git



More information about the Pkg-mozext-commits mailing list