mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-05 02:18: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
6
hook.php
6
hook.php
@ -586,9 +586,9 @@ function plugin_example_uninstall() {
|
|||||||
$DB->query($query) or die("error deleting glpi_plugin_example");
|
$DB->query($query) or die("error deleting glpi_plugin_example");
|
||||||
}
|
}
|
||||||
// Current version tables
|
// Current version tables
|
||||||
if (TableExists("glpi_plugin_example_example")) {
|
if (TableExists("glpi_plugin_example_examples")) {
|
||||||
$query = "DROP TABLE `glpi_plugin_example_example`";
|
$query = "DROP TABLE `glpi_plugin_example_examples`";
|
||||||
$DB->query($query) or die("error deleting glpi_plugin_example_example");
|
$DB->query($query) or die("error deleting glpi_plugin_example_examples");
|
||||||
}
|
}
|
||||||
if (TableExists("glpi_plugin_example_dropdowns")) {
|
if (TableExists("glpi_plugin_example_dropdowns")) {
|
||||||
$query = "DROP TABLE `glpi_plugin_example_dropdowns`;";
|
$query = "DROP TABLE `glpi_plugin_example_dropdowns`;";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user