function charts_graphs_uninstall in Charts and Graphs 7
Same name and namespace in other branches
- 6.2 charts_graphs.install \charts_graphs_uninstall()
- 7.2 charts_graphs.install \charts_graphs_uninstall()
Implements hook_uninstall().
File
- ./
charts_graphs.install, line 12 - Install file for Charts and Graphs module.
Code
function charts_graphs_uninstall() {
// TODO Please review the conversion of this statement to the D7 database API syntax.
/* db_query("DELETE FROM {variable} WHERE name LIKE 'charts_graphs_%%'") */
db_delete('variable')
->condition('name', 'charts_graphs_%%', 'LIKE')
->execute();
cache_clear_all('variables', 'cache');
}