Skip to content

Commit

Permalink
FI lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ddurieux committed Jul 5, 2022
1 parent 6ff8a64 commit 1f1bdf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion inc/update.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ public function doUpdates($current_version = null) {
include_once "{$updir}update_957_958.php";
update957to958();
break;

case GLPI_VERSION:
case GLPI_SCHEMA_VERSION:
break;
Expand Down
6 changes: 2 additions & 4 deletions install/update_957_958.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@
*
* @return bool for success (will die for most error)
**/
function update956to957() {
function update957to958() {
/** @global Migration $migration */
global $DB, $migration, $CFG_GLPI;
global $migration;

$current_config = Config::getConfigurationValues('core');
$updateresult = true;
$ADDTODISPLAYPREF = [];

//TRANS: %s is the number of new version
$migration->displayTitle(sprintf(__('Update to %s'), '9.5.8'));
Expand Down

0 comments on commit 1f1bdf2

Please sign in to comment.