diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-01 07:40:08 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-01 07:40:08 +0000 |
commit | 94098f7e931db2efc354af97302c2f44af7bb4f5 (patch) | |
tree | 37dce791df95e6266a9fef842cb441e4cf6fdb82 /modules/aggregator/aggregator.install | |
parent | f96e48456d9326ab27d40ae38cdd0305df62fb99 (diff) | |
download | brdo-94098f7e931db2efc354af97302c2f44af7bb4f5.tar.gz brdo-94098f7e931db2efc354af97302c2f44af7bb4f5.tar.bz2 |
#81033 by webchick and neclimdul. Uninstall module API.
Diffstat (limited to 'modules/aggregator/aggregator.install')
-rw-r--r-- | modules/aggregator/aggregator.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/aggregator/aggregator.install b/modules/aggregator/aggregator.install index 8a5d1612f..6c3220e4a 100644 --- a/modules/aggregator/aggregator.install +++ b/modules/aggregator/aggregator.install @@ -1,6 +1,9 @@ <?php // $Id$ +/** + * Implementation of hook_install(). + */ function aggregator_install() { switch ($GLOBALS['db_type']) { case 'mysql': @@ -112,3 +115,18 @@ function aggregator_install() { break; } } + +/** + * Implementation of hook_uninstall(). + */ +function aggregator_uninstall() { + db_query('DROP TABLE {aggregator_category}'); + db_query('DROP TABLE {aggregator_category_feed}'); + db_query('DROP TABLE {aggregator_category_item}'); + db_query('DROP TABLE {aggregator_feed}'); + db_query('DROP TABLE {aggregator_item}'); + variable_del('aggregator_allowed_html_tags'); + variable_del('aggregator_summary_items'); + variable_del('aggregator_clear'); + variable_del('aggregator_category_selector'); +} |