You are here

clients_drupal.install in Web Service Clients 7.2

Sets system variables and deletes connections on uninstall

File

connections/clients_drupal/clients_drupal.install
View source
<?php

/**
 * @file
 * Sets system variables and deletes connections on uninstall
 */

/**
 * Implementation of hook_uninstall().
 */
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);
  }
}

Functions

Namesort descending Description
clients_drupal_uninstall Implementation of hook_uninstall().