function facetapi_uninstall in Facet API 6
Same name and namespace in other branches
- 6.3 facetapi.install \facetapi_uninstall()
- 7.2 facetapi.install \facetapi_uninstall()
- 7 facetapi.install \facetapi_uninstall()
Implementation of hook_uninstall().
File
- ./
facetapi.install, line 72 - Installation functions for the Facet API module.
Code
function facetapi_uninstall() {
drupal_uninstall_schema('facetapi');
// Removes all variables that start with "facetapi:"
if ($result = db_query("SELECT name FROM {variable} WHERE name LIKE 'facetapi:%%'")) {
while ($row = db_fetch_object($result)) {
variable_del($row->name);
}
}
}