You are here

function sweaver_uninstall in Sweaver 7

Same name and namespace in other branches
  1. 6 sweaver.install \sweaver_uninstall()

Implements hook_uninstall().

File

./sweaver.install, line 202
Sweaver install file.

Code

function sweaver_uninstall() {
  cache_clear_all('sweaver', 'cache');
  cache_clear_all('plugins:sweaver:plugins', 'cache');
  db_query("DELETE FROM {variable} WHERE name LIKE 'sweaver_%%'")
    ->execute();
}