diff --git a/hook.php b/hook.php index 2e32fca8..6ae6e3ca 100644 --- a/hook.php +++ b/hook.php @@ -172,6 +172,9 @@ function plugin_genericobject_uninstall() { $DB->query("DELETE FROM $table_datainjection_model WHERE itemtype LIKE 'PluginGenericobject%'"); } + // Invalidate menu data in current session + unset($_SESSION['glpimenu']); + return true; }