aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 21:09:31 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 21:09:31 +0000
commit785290e6c228d484adb8812d243700e65692867d (patch)
tree08f03604342740e52988ef01f678a27bf594826b /engine/lib/upgrades
parent4b66f1cb6218f80fb4b2272837070efe44618c53 (diff)
downloadelgg-785290e6c228d484adb8812d243700e65692867d.tar.gz
elgg-785290e6c228d484adb8812d243700e65692867d.tar.bz2
last of the river updates I hope - fixes the likes river view
git-svn-id: http://code.elgg.org/elgg/trunk@7665 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/upgrades')
-rw-r--r--engine/lib/upgrades/2010121702.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2010121702.php b/engine/lib/upgrades/2010121702.php
new file mode 100644
index 000000000..1c4a931b1
--- /dev/null
+++ b/engine/lib/upgrades/2010121702.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Change the location of the likes river view
+ */
+
+$query = "UPDATE {$CONFIG->dbprefix}river
+ SET view='river/annotation/likes/create', action_type='create'
+ WHERE view='annotation/annotatelike' AND action_type='likes'";
+update_data($query);
+