]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3877 updates river db table for replying to forum topics
authorcash <cash.costello@gmail.com>
Sun, 25 Sep 2011 21:27:07 +0000 (17:27 -0400)
committercash <cash.costello@gmail.com>
Sun, 25 Sep 2011 21:27:07 +0000 (17:27 -0400)
engine/lib/upgrades/2011092500-1.8.0.1-forum_reply_river_view-5758ce8d86ac56ce.php [new file with mode: 0644]
version.php

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 (file)
index 0000000..3a9200b
--- /dev/null
@@ -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);
index 5bc115d35f03f2dbbf6099a13f4e9b8cf97393b3..d49ce5eb049ad92ce86421ef0f40ce232115e21f 100644 (file)
@@ -11,7 +11,7 @@
 
 // YYYYMMDD = Elgg Date
 // XX = Interim incrementer
-$version = 2011061200;
+$version = 2011092500;
 
 // Human-friendly version name
 $release = '1.8.0.1';