aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2010121601.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 01:08:23 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 01:08:23 +0000
commit7c7dc0e249fb4afd1b0f4826bdbd27aa5d9f2a26 (patch)
treeaa3afd1a6c4493ef463bc8c0e4d77a11942e081f /engine/lib/upgrades/2010121601.php
parente634e03a412afdb4f31923b91b2af8efc0bb2be0 (diff)
downloadelgg-7c7dc0e249fb4afd1b0f4826bdbd27aa5d9f2a26.tar.gz
elgg-7c7dc0e249fb4afd1b0f4826bdbd27aa5d9f2a26.tar.bz2
updated the river friend view for the new river code
git-svn-id: http://code.elgg.org/elgg/trunk@7649 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/upgrades/2010121601.php')
-rw-r--r--engine/lib/upgrades/2010121601.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2010121601.php b/engine/lib/upgrades/2010121601.php
new file mode 100644
index 000000000..ad7d26adb
--- /dev/null
+++ b/engine/lib/upgrades/2010121601.php
@@ -0,0 +1,9 @@
+<?php
+/**
+ * Create friends river view has been changed
+ */
+
+$query = "UPDATE {$CONFIG->dbprefix}river
+ SET view='river/relationship/friend/create', action_type='create'
+ WHERE view='friends/river/create' AND action_type='friend'";
+update_data($query);