show success in updater when there are no more old files to delete and exec() is disallowed (showed empty list)
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -319,8 +319,13 @@ if (\Froxlor\Froxlor::isDatabaseVersion('201907270')) {
|
|||||||
if ($exec_allowed) {
|
if ($exec_allowed) {
|
||||||
lastStepStatus(0);
|
lastStepStatus(0);
|
||||||
} else {
|
} else {
|
||||||
lastStepStatus(1, 'manual commands needed');
|
if (empty($del_list)) {
|
||||||
echo '<span class="update-step update-step-err">Please run the following commands manually:</span><br><pre>'.$del_list.'</pre><br>';
|
// non of the files existed
|
||||||
|
lastStepStatus(0);
|
||||||
|
} else {
|
||||||
|
lastStepStatus(1, 'manual commands needed');
|
||||||
|
echo '<span class="update-step update-step-err">Please run the following commands manually:</span><br><pre>'.$del_list.'</pre><br>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
\Froxlor\Froxlor::updateToDbVersion('201909150');
|
\Froxlor\Froxlor::updateToDbVersion('201909150');
|
||||||
|
|||||||
Reference in New Issue
Block a user