aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-09-25 17:27:07 -0400
committercash <cash.costello@gmail.com>2011-09-25 17:27:07 -0400
commitb59030e738550161ad2f1aec12e414e5d09bedae (patch)
tree49b6c09f38773597efc7b2849d93f50ebc6a8e93 /engine
parent0a0414619d4a82494403e8334e9a5367f893667e (diff)
downloadelgg-b59030e738550161ad2f1aec12e414e5d09bedae.tar.gz
elgg-b59030e738550161ad2f1aec12e414e5d09bedae.tar.bz2
Fixes #3877 updates river db table for replying to forum topics
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/upgrades/2011092500-1.8.0.1-forum_reply_river_view-5758ce8d86ac56ce.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2011092500-1.8.0.1-forum_reply_river_view-5758ce8d86ac56ce.php b/engine/lib/upgrades/2011092500-1.8.0.1-forum_reply_river_view-5758ce8d86ac56ce.php
new file mode 100644
index 000000000..3a9200b51
--- /dev/null
+++ b/engine/lib/upgrades/2011092500-1.8.0.1-forum_reply_river_view-5758ce8d86ac56ce.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Elgg 1.8.0.1 upgrade 2011092500
+ * forum_reply_river_view
+ *
+ * The forum reply river view is in a new location in Elgg 1.8
+ */
+
+$query = "UPDATE {$CONFIG->dbprefix}river SET view='river/annotation/group_topic_post/reply',
+ action_type='reply'
+ WHERE view='river/forum/create' AND action_type='create'";
+update_data($query);