summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-10-14 17:03:59 -0400
committerwebchick <webchick@24967.no-reply.drupal.org>2011-10-14 17:03:59 -0400
commit73da458f28642853847758ef79336a5cc6371b72 (patch)
tree05de1993a097a5ba08297e5ed3e408a1ec7cf01e /modules/forum
parenteb82ee8611a8cda855658e797485502e19213ad3 (diff)
downloadbrdo-73da458f28642853847758ef79336a5cc6371b72.tar.gz
brdo-73da458f28642853847758ef79336a5cc6371b72.tar.bz2
Issue #1220602 by catch: Fixed Call to undefined function _update_7000_field_read_fields() during Forum update 7003.
Diffstat (limited to 'modules/forum')
-rw-r--r--modules/forum/forum.install15
1 files changed, 15 insertions, 0 deletions
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
@@ -239,6 +239,21 @@ function forum_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.
*/
function forum_update_7000() {