You are here

function ds_uninstall in Display Suite 6.2

Same name and namespace in other branches
  1. 6.3 ds.install \ds_uninstall()
  2. 6 ds.install \ds_uninstall()
  3. 7.2 ds.install \ds_uninstall()
  4. 7 ds.install \ds_uninstall()

Implements hook_uninstall().

File

./ds.install, line 73
Display suite install file.

Code

function ds_uninstall() {
  drupal_uninstall_schema('ds');
  db_query("DELETE FROM {variable} WHERE name LIKE 'ds_%%'");
  cache_clear_all('variables', 'cache');
}