function amazon_uninstall in Amazon Product Advertisement API 7
Same name and namespace in other branches
- 6 amazon.install \amazon_uninstall()
- 7.2 amazon.install \amazon_uninstall()
Implements hook_uninstall().
File
- ./
amazon.install, line 17 - Install, update and uninstall functions for the amazon module.
Code
function amazon_uninstall() {
$vars = array(
'amazon_media_data',
'amazon_locale',
'amazon_associate_setting',
'amazon_custom_associate_id',
'amazon_aws_access_key',
'amazon_aws_secret_access_key',
'amazon_refresh_schedule',
'amazon_core_data',
);
foreach ($vars as $var) {
variable_del($var);
}
}