function google_appliance_uninstall in Google Search Appliance 6.2
Same name and namespace in other branches
- 7 google_appliance.install \google_appliance_uninstall()
Implementation of hook_uninstall().
File
- ./
google_appliance.install, line 25 - Installation file for building tables for Google Integration
Code
function google_appliance_uninstall() {
// Remove tables.
$uninstall = drupal_uninstall_schema('google_appliance');
if ($uninstall['0']['success'] == 1) {
drupal_set_message(t('Google Appliance module uninstalled successfully'));
}
else {
drupal_set_message(t('Google Appliance module failed to uninstall'), 'error');
}
}