From 73da458f28642853847758ef79336a5cc6371b72 Mon Sep 17 00:00:00 2001 From: webchick Date: Fri, 14 Oct 2011 17:03:59 -0400 Subject: Issue #1220602 by catch: Fixed Call to undefined function _update_7000_field_read_fields() during Forum update 7003. --- modules/forum/forum.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'modules/forum') diff --git a/modules/forum/forum.install b/modules/forum/forum.install index 1bed2e34c..589e3a1cd 100644 --- a/modules/forum/forum.install +++ b/modules/forum/forum.install @@ -238,6 +238,21 @@ function forum_schema() { return $schema; } +/** + * Implements hook_update_dependencies(). + */ +function forum_update_dependencies() { + $dependencies['forum'][7003] = array( + // Forum update 7003 uses field API update functions, so must run after + // Field API has been enabled. + 'system' => 7020, + // Forum update 7003 relies on updated taxonomy module schema. Ensure it + // runs after all taxonomy updates. + 'taxonomy' => 7010, + ); + return $dependencies; +} + /** * Add new index to forum table. */ -- cgit v1.2.3