aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades
diff options
context:
space:
mode:
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);
+