1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-11-16 13:55:00 -05:00

remove warnings from VersionChange

This commit is contained in:
foudfou 2012-03-09 00:16:06 +01:00
parent 8763567ac3
commit d4c1da59fa

View File

@ -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);
}