aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-12-31 09:25:30 -0500
committerCash Costello <cash.costello@gmail.com>2011-12-31 09:25:30 -0500
commitc5cee37b025a2654d1a5c427ac7a709ecf4b5350 (patch)
treee8ddd89535669bcd0c00dce933fb5f1f3ceeba69 /engine/lib
parentccd4b6e48010cfc62c2ee6c942836c1ab9c9c7fd (diff)
downloadelgg-c5cee37b025a2654d1a5c427ac7a709ecf4b5350.tar.gz
elgg-c5cee37b025a2654d1a5c427ac7a709ecf4b5350.tar.bz2
Fixes #4248 fixed friend river text
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/upgrades/2011123100-1.8.2-fix_friend_river-b17e7ff8345c2269.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2011123100-1.8.2-fix_friend_river-b17e7ff8345c2269.php b/engine/lib/upgrades/2011123100-1.8.2-fix_friend_river-b17e7ff8345c2269.php
new file mode 100644
index 000000000..4dc43cd32
--- /dev/null
+++ b/engine/lib/upgrades/2011123100-1.8.2-fix_friend_river-b17e7ff8345c2269.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Elgg 1.8.2 upgrade 2011123100
+ * fix_friend_river
+ *
+ * Action type was incorrect due to previoud friends river upgrade
+ */
+
+$query = "UPDATE {$CONFIG->dbprefix}river
+ SET action_type='friend'
+ WHERE view='river/relationship/friend/create' AND action_type='create'";
+update_data($query);