You are here

function defaultcontent_uninstall in Default Content 7.2

Same name and namespace in other branches
  1. 7 defaultcontent.install \defaultcontent_uninstall()

Implements hook_uninstall().

File

./defaultcontent.install, line 51
Installation file for Default Content module

Code

function defaultcontent_uninstall() {

  // Remove module variables.
  $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'defaultcontent_%'");
  foreach ($result as $record) {
    variable_del($record->name);
  }
}