You are here

function charts_graphs_uninstall in Charts and Graphs 7.2

Same name and namespace in other branches
  1. 6.2 charts_graphs.install \charts_graphs_uninstall()
  2. 7 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() {
  db_delete('variable')
    ->condition('name', 'charts_graphs_%%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache');
}