diff --git a/modules/field/field.install b/modules/field/field.install index 23aba31671034298afb5c07310fc6abe12bcf3db..737c1da42889c0bdc8d2defc2da8379541b6245b 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. */