function relation_migrate_uninstall in Relation 8
Same name and namespace in other branches
- 8.2 relation_migrate/relation_migrate.install \relation_migrate_uninstall()
- 7 relation_migrate/relation_migrate.install \relation_migrate_uninstall()
Implements hook_uninstall().
File
- relation_migrate/
relation_migrate.install, line 11 - Install, uninstall and update hooks for relation_migrate.module.
Code
function relation_migrate_uninstall() {
$types = array(
'entityreference',
'taxonomy_term_reference',
'node_reference',
'user_reference',
);
foreach ($types as $type) {
variable_del('relation_migrate_' . $type . '_fields');
variable_del('relation_migrate_' . $type . '_relation_type');
variable_del('relation_migrate_' . $type . '_user');
}
}