function votingapi_uninstall in Voting API 7.2
Same name and namespace in other branches
- 5 votingapi.install \votingapi_uninstall()
- 6.2 votingapi.install \votingapi_uninstall()
- 6 votingapi.install \votingapi_uninstall()
- 7.3 votingapi.install \votingapi_uninstall()
Implements hook_uninstall().
File
- ./
votingapi.install, line 314 - Installation file for VotingAPI module.
Code
function votingapi_uninstall() {
// Delete variables created by voteapi module.
$variables = array(
'votingapi_last_cron',
'votingapi_anonymous_window',
'votingapi_user_window',
'votingapi_calculation_schedule',
);
foreach ($variables as $variable) {
variable_del($variable);
}
}