mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
PHP CS fixer
This commit is contained in:
@@ -199,8 +199,6 @@ function RaiseAlarm($sMessage)
|
||||
//////////
|
||||
// Main
|
||||
|
||||
|
||||
|
||||
if (utils::IsModeCLI()) {
|
||||
try {
|
||||
utils::UseParamFile();
|
||||
|
||||
@@ -90,8 +90,7 @@ if (utils::IsModeCLI()) {
|
||||
SetupUtils::CheckPhpAndExtensionsForCli($oP);
|
||||
try {
|
||||
utils::UseParamFile();
|
||||
}
|
||||
catch (Exception $e) {
|
||||
} catch (Exception $e) {
|
||||
ExitError($oP, $e->GetMessage());
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -211,8 +211,7 @@ if (utils::IsModeCLI()) {
|
||||
|
||||
try {
|
||||
utils::UseParamFile();
|
||||
}
|
||||
catch (Exception $e) {
|
||||
} catch (Exception $e) {
|
||||
$oP->p('Error: '.$e->GetMessage());
|
||||
$oP->output();
|
||||
exit(-2);
|
||||
|
||||
Reference in New Issue
Block a user