Skip to content

Commit

Permalink
style(install): indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jul 18, 2022
1 parent e87b6f5 commit 6dc45dd
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,15 @@ public function upgrade(Migration $migration, $args = []): bool {
// Upgrading from GLPI 9.5 to GLPI 10
// check only columns format
$checkResult = $this->checkSchema(
$oldVersion,
true,
false,
false,
true,
true,
true,
$log);
$oldVersion,
true,
false,
false,
true,
true,
true,
$log
);
} else {
// more strict DB check : dynamic rows, utf8mb4, unsigned int for foreign keys
$checkResult = $this->checkSchema(
Expand All @@ -167,8 +168,9 @@ public function upgrade(Migration $migration, $args = []): bool {
false,
false,
false,
$log);
}
$log
);
}
if (!$checkResult) {
if (!isCommandLine()) {
Session::addMessageAfterRedirect(sprintf(
Expand Down

0 comments on commit 6dc45dd

Please sign in to comment.