aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2011123100-1.8.2-fix_friend_river-b17e7ff8345c2269.php
blob: 4dc43cd32a1e29def48beee33e546d816fe224b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
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);