function linkedin_uninstall in LinkedIn Integration 7
Same name and namespace in other branches
- 6 linkedin.install \linkedin_uninstall()
Implements hook_uninstall().
File
- ./
linkedin.install, line 52 - Install, update and uninstall functions for the linkedin module.
Code
function linkedin_uninstall() {
// Delete variables
variable_del('linkedin_consumer_key');
variable_del('linkedin_consumer_secret');
$types = node_type_get_names();
array_push($types, 'event_signup');
foreach ($types as $type) {
$type = strtolower($type);
variable_del('linkedin_enabled_' . $type);
variable_del('linkedin_default_format_' . $type);
}
}