function clients_drupal_uninstall in Web Service Clients 6.2
Same name and namespace in other branches
- 6 backends/clients_drupal/clients_drupal.install \clients_drupal_uninstall()
- 7.3 connections/clients_drupal/clients_drupal.install \clients_drupal_uninstall()
- 7 backends/clients_drupal/clients_drupal.install \clients_drupal_uninstall()
- 7.2 connections/clients_drupal/clients_drupal.install \clients_drupal_uninstall()
Implementation of hook_uninstall().
File
- connections/
clients_drupal/ clients_drupal.install, line 10 - Sets system variables and deletes connections on uninstall
Code
function clients_drupal_uninstall() {
// Delete all of this module's connections.
module_load_install('clients');
clients_connection_uninstall_connection_delete('clients_drupal');
// clean up any variables created by module
$module_variables = array();
foreach ($module_variables as $module_variable) {
variable_del($module_variable);
}
}