aboutsummaryrefslogtreecommitdiff
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
parentccd4b6e48010cfc62c2ee6c942836c1ab9c9c7fd (diff)
downloadelgg-c5cee37b025a2654d1a5c427ac7a709ecf4b5350.tar.gz
elgg-c5cee37b025a2654d1a5c427ac7a709ecf4b5350.tar.bz2
Fixes #4248 fixed friend river text
-rw-r--r--engine/lib/upgrades/2011123100-1.8.2-fix_friend_river-b17e7ff8345c2269.php12
-rw-r--r--version.php2
2 files changed, 13 insertions, 1 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);
diff --git a/version.php b/version.php
index 29870f93f..08c1e2513 100644
--- a/version.php
+++ b/version.php
@@ -11,7 +11,7 @@
// YYYYMMDD = Elgg Date
// XX = Interim incrementer
-$version = 2011122100;
+$version = 2011123100;
// Human-friendly version name
$release = '1.8.2';