You are here

function maxlength_uninstall in Maxlength 6

Same name and namespace in other branches
  1. 5.2 maxlength.install \maxlength_uninstall()
  2. 5 maxlength.install \maxlength_uninstall()
  3. 6.2 maxlength.install \maxlength_uninstall()
  4. 7.3 maxlength.install \maxlength_uninstall()
  5. 7 maxlength.install \maxlength_uninstall()
  6. 7.2 maxlength.install \maxlength_uninstall()

File

./maxlength.install, line 33

Code

function maxlength_uninstall() {
  foreach (node_get_types() as $type => $name) {
    $code = MAXLENGTH_NODE_TYPE . $type;
    variable_del($code . '_t');
    variable_del($code . '_b');
  }
}