Skip to content

Commit 6ddba19

Browse files
committed
N°9141 Add message when force option checked (whether extensions actually needed it or not)
1 parent 270e8fd commit 6ddba19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup/wizardsteps/WizStepInstall.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ public function Display(WebPage $oPage)
9090
return;
9191
}
9292

93+
if ($this->oWizard->GetParameter('force-uninstall', false)) {
94+
SetupLog::Warning("User disabled uninstallation checks");
95+
}
9396
$aExtensionsRemoved = json_decode($this->oWizard->GetParameter('removed_extensions'), true) ?? [];
9497
$aExtensionsNotUninstallable = json_decode($this->oWizard->GetParameter('extensions_not_uninstallable'));
9598
$aExtensionsForceUninstalled = [];
@@ -99,7 +102,7 @@ public function Display(WebPage $oPage)
99102
}
100103
}
101104
if (count($aExtensionsForceUninstalled)) {
102-
SetupLog::Info("Extensions uninstalled forcefully : ".implode(',', $aExtensionsForceUninstalled));
105+
SetupLog::Warning("Extensions uninstalled forcefully : ".implode(',', $aExtensionsForceUninstalled));
103106
}
104107

105108
$oPage->add_ready_script(<<<JS

0 commit comments

Comments
 (0)