function fb_social_uninstall in Facebook social plugins integration 7.2
Same name and namespace in other branches
- 6.2 fb_social.install \fb_social_uninstall()
- 6 fb_social.install \fb_social_uninstall()
Implements hook_uninstall().
File
- ./
fb_social.install, line 16 - Install, update and uninstall functions for the fb_social module.
Code
function fb_social_uninstall() {
// delete system variables
variable_del('fb_social_appid');
variable_del('fb_social_secret');
variable_del('fb_social_locale');
variable_del('fb_social_urls_mode');
variable_del('fb_social_locale_auto');
variable_del('fb_social_fbroot_top');
$languages = language_list();
foreach ($languages as $language) {
variable_del('fb_social_language_' . $language->language);
}
}