. * --------------------------------------------------------------------- */ /** * Filename was previously migration_cleaner.php * @since 0.85 */ include ('../inc/includes.php'); Session::checkSeveralRightsOr(["networking" => UPDATE, "internet" => UPDATE]); if (!$DB->tableExists('glpi_networkportmigrations')) { Session::addMessageAfterRedirect(__('You don\'t need the "migration cleaner" tool anymore...')); Html::redirect($CFG_GLPI["root_doc"]."/front/central.php"); } Html::header(__('Migration cleaner'), $_SERVER['PHP_SELF'], "tools", "migration"); echo "
| " . __('"Migration cleaner" tool') . " |
|---|
| "; Html::showSimpleForm(IPNetwork::getFormURL(), 'reinit_network', __('Reinit the network topology')); echo " |
| "; echo "". __('Clean the network port migration errors') . ""; echo " |