diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-02-11 04:45:57 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-02-11 04:45:57 +0000 |
commit | 1681bc164b7266fbb756a5b0dd0ca834cc99cc1c (patch) | |
tree | 9990250a4e8ba0f5f11adc95107819a6549d6b1a /modules | |
parent | 5420371ac5d39c1d5a525f8e629850fe058b739f (diff) | |
download | brdo-1681bc164b7266fbb756a5b0dd0ca834cc99cc1c.tar.gz brdo-1681bc164b7266fbb756a5b0dd0ca834cc99cc1c.tar.bz2 |
#372376 by yched: Remove uninstall/disable hooks from required field.module.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/field/field.install | 32 |
1 files changed, 0 insertions, 32 deletions
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 @@ -9,38 +9,6 @@ function field_install() { } /** - * 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. */ function field_schema() { |