From 1681bc164b7266fbb756a5b0dd0ca834cc99cc1c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 11 Feb 2009 04:45:57 +0000 Subject: #372376 by yched: Remove uninstall/disable hooks from required field.module. --- modules/field/field.install | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'modules/field') diff --git a/modules/field/field.install b/modules/field/field.install index 23aba3167..737c1da42 100644 --- a/modules/field/field.install +++ b/modules/field/field.install @@ -8,38 +8,6 @@ function field_install() { drupal_install_schema('field'); } -/** - * Implementation of hook_uninstall(). - */ -function field_uninstall() { - drupal_uninstall_schema('field'); -} - -/** - * Implementation of hook_enable(). - */ -function field_enable() { - // Make sure old data is emptied out of the caches, since it - // may no longer be valid since the module was last enabled, - // especially if not all the same field modules are enabled - // as before. Especially needed during updates. - module_load_include('inc', 'field', 'field.crud'); - module_load_include('inc', 'field', 'field.info'); - cache_clear_all('*', 'cache_field', TRUE); - field_cache_clear(TRUE); -} - -/** - * Implementation of hook_disable(). - */ -function field_disable() { - // Make sure old data is emptied out of the caches, since it - // may no longer be valid when the module is re-enabled. - module_load_include('inc', 'field', 'field.crud'); - cache_clear_all('*', 'cache_field', TRUE); - field_cache_clear(TRUE); -} - /** * Implementation of hook_schema. */ -- cgit v1.2.3