You are here

function sweaver_uninstall in Sweaver 6

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

Implementation of hook_uninstall().

File

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

Code

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