diff options
Diffstat (limited to 'modules/drupal/drupal.install')
-rw-r--r-- | modules/drupal/drupal.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/drupal/drupal.install b/modules/drupal/drupal.install index f1c93d56c..909c539de 100644 --- a/modules/drupal/drupal.install +++ b/modules/drupal/drupal.install @@ -1,6 +1,9 @@ <?php // $Id$ +/** + * Implementation of hook_install(). + */ function drupal_install() { switch ($GLOBALS['db_type']) { case 'mysql': @@ -52,3 +55,20 @@ function drupal_install() { break; } } + +/** + * Implementation of hook_uninstall(). + */ +function drupal_uninstall() { + db_query('DROP TABLE {client}'); + db_query('DROP TABLE {client_system}'); + variable_del('drupal_authentication_service'); + variable_del('drupal_directory'); + variable_del('drupal_register'); + variable_del('drupal_server'); + variable_del('drupal_system'); + variable_del('drupal_statistics'); + variable_del('drupal_client_service'); + variable_del('drupal_default_da_server'); + variable_del('drupal_default_da_server_only'); +} |