You are here

function auto_nodetitle_uninstall in Automatic Nodetitles 5

Same name and namespace in other branches
  1. 8 auto_nodetitle.install \auto_nodetitle_uninstall()
  2. 6 auto_nodetitle.install \auto_nodetitle_uninstall()
  3. 7 auto_nodetitle.install \auto_nodetitle_uninstall()

Implementation of hook_uninstall().

File

./auto_nodetitle.install, line 13

Code

function auto_nodetitle_uninstall() {
  foreach (node_get_types('names') as $type => $type_name) {
    variable_del('ant_' . $type);
    variable_del('ant_pattern_' . $type);
    variable_del('ant_php_' . $type);
  }
}