function autoassignrole_uninstall in Auto Assign Role 7.2
Same name and namespace in other branches
- 5.2 autoassignrole.install \autoassignrole_uninstall()
- 5 autoassignrole.install \autoassignrole_uninstall()
- 6.2 autoassignrole.install \autoassignrole_uninstall()
- 6 autoassignrole.install \autoassignrole_uninstall()
- 7 autoassignrole.install \autoassignrole_uninstall()
Implements hook_uninstall().
File
- ./
autoassignrole.install, line 11 - Installation related functionality for the auto assign role module.
Code
function autoassignrole_uninstall() {
db_delete('variable')
->condition('name', db_like('autoassignrole_') . '%', 'LIKE')
->execute();
}