function userpoints_nc_uninstall in User points Nodes and Comments 7
Implements hook_uninstall().
File
- ./
userpoints_nc.install, line 11 - Install time hooks for userpoints_nc module.
Code
function userpoints_nc_uninstall() {
// Delete all variables with "userpoints_nc_" prefix.
// This is to make sure that node type specific settings are deleted too.
db_delete('variable')
->condition('name', 'userpoints_nc_%', 'LIKE')
->execute();
}