function openlayers_ui_uninstall in Openlayers 6.2
Same name and namespace in other branches
- 7.2 modules/openlayers_ui/openlayers_ui.install \openlayers_ui_uninstall()
Implementation of hook_uninstall().
File
- modules/
openlayers_ui/ openlayers_ui.install, line 14 - This file holds the functions for the installing and enabling of the openlayers_ui module.
Code
function openlayers_ui_uninstall() {
// Get module variables
$results = db_query("SELECT v.name FROM {variable} AS v WHERE v.name LIKE '%s%%'", 'openlayers_ui_');
// Remove variables
while ($row = db_fetch_array($results)) {
variable_del($row['name']);
}
}