From a75480a0c8fe0256ee6aca334e474fc86d9ddd6d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 22 Apr 2010 19:06:34 +0000 Subject: - Patch #739470 by yched, fago: hook_field_update_instance() invocation is missing. --- modules/field/field.api.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/field/field.api.php') diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 8982d20fb..95f436c43 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -1600,12 +1600,12 @@ function hook_field_delete_field($field) { * This hook is invoked after the instance record is saved and so it cannot * modify the instance itself. * - * TODO: Not implemented. - * * @param $instance - * The instance just updated. + * The instance as it is post-update. + * @param $prior_$instance + * The instance as it was pre-update. */ -function hook_field_update_instance($instance) { +function hook_field_update_instance($instance, $prior_instance) { } /** -- cgit v1.2.3