aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 01:22:00 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 01:22:00 +0000
commitbc21e6778ffd5b4b4f2828fd720dc6590870f46f (patch)
tree99b240eb5beb053358f2a5bf3e76c3ab7c598d2b /engine/lib/upgrades
parent7c7dc0e249fb4afd1b0f4826bdbd27aa5d9f2a26 (diff)
downloadelgg-bc21e6778ffd5b4b4f2828fd720dc6590870f46f.tar.gz
elgg-bc21e6778ffd5b4b4f2828fd720dc6590870f46f.tar.bz2
updated the river generic_comment view for the new river code
git-svn-id: http://code.elgg.org/elgg/trunk@7650 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/upgrades')
-rw-r--r--engine/lib/upgrades/2010121602.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2010121602.php b/engine/lib/upgrades/2010121602.php
new file mode 100644
index 000000000..2d55c8214
--- /dev/null
+++ b/engine/lib/upgrades/2010121602.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Create comment river view has been changed
+ */
+
+$query = "UPDATE {$CONFIG->dbprefix}river
+ SET view='river/annotation/generic_comment/create', action_type='create'
+ WHERE view='annotation/annotate' AND action_type='comment'";
+update_data($query);
+