From 704a0fce08c2d392db230743dc69e06f813919af Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Wed, 11 Feb 2015 12:08:58 +0100 Subject: [PATCH] make integritycheck in update-procedure more clear whether there actually is a problem or not (if it's been fixed for example), fixes #1493 Signed-off-by: Michael Kaufmann (d00p) --- install/updatesql.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/updatesql.php b/install/updatesql.php index 7b2c612b..86fe204e 100644 --- a/install/updatesql.php +++ b/install/updatesql.php @@ -59,12 +59,12 @@ if (isFroxlor()) { $integrity = new IntegrityCheck(); if (!$integrity->checkAll()) { - lastStepStatus(2, 'Monkeys ate the integrity'); + lastStepStatus(1, 'Monkeys ate the integrity'); showUpdateStep("Trying to remove monkeys, feeding bananas"); if(!$integrity->fixAll()) { - lastStepStatus(2, 'Some monkeys just would not move'); + lastStepStatus(2, 'Some monkeys just would not move, you should contact team@froxlor.org'); } else { - lastStepStatus(0); + lastStepStatus(0, 'Integrity restored'); } } else { lastStepStatus(0);