Skip to content

Commit

Permalink
fix(install): remvoe rename of the plugin from upgtrade to 2.7
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Mar 4, 2019
1 parent e176d3c commit 6e03e21
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions install/upgrade_to_2.7.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,5 @@ public function upgrade(Migration $migration) {
$id = $row['id'];
$DB->query("UPDATE `glpi_plugin_formcreator_forms` SET `name` = '$name', `description` = '$description', `content` = '$content' WHERE `id` = '$id'");
}

// Rename the plugin
$plugin = new Plugin();
$plugin->getFromDBbyDir('formcreator');
$success = $plugin->update([
'id' => $plugin->getID(),
'name' => 'Form Creator',
]);
}
}

0 comments on commit 6e03e21

Please sign in to comment.