mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
DROP TABLE statement typo
didn't matched the table created in install hook
This commit is contained in:
parent
9103cb29d8
commit
8c7086ac21
8
hook.php
8
hook.php
@ -586,9 +586,9 @@ function plugin_example_uninstall() {
|
||||
$DB->query($query) or die("error deleting glpi_plugin_example");
|
||||
}
|
||||
// Current version tables
|
||||
if (TableExists("glpi_plugin_example_example")) {
|
||||
$query = "DROP TABLE `glpi_plugin_example_example`";
|
||||
$DB->query($query) or die("error deleting glpi_plugin_example_example");
|
||||
if (TableExists("glpi_plugin_example_examples")) {
|
||||
$query = "DROP TABLE `glpi_plugin_example_examples`";
|
||||
$DB->query($query) or die("error deleting glpi_plugin_example_examples");
|
||||
}
|
||||
if (TableExists("glpi_plugin_example_dropdowns")) {
|
||||
$query = "DROP TABLE `glpi_plugin_example_dropdowns`;";
|
||||
@ -672,4 +672,4 @@ function plugin_example_Status($param) {
|
||||
echo "\n";
|
||||
return $param;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user