Skip to content

Commit a737394

Browse files
acolombeflegastelois
authored andcommitted
Remove menu link after plugin uninstall
1 parent 8bb327f commit a737394

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

hook.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ function plugin_treeview_uninstall() {
233233
$DB->query($query) or die($DB->error());
234234
}
235235

236+
unset($_SESSION['glpimenu']['plugins']['content']['plugintreeviewpreference']);
237+
236238
}
237239

238240

0 commit comments

Comments
 (0)