aboutsummaryrefslogtreecommitdiff
path: root/actions/friends/editcollection.php
blob: 8fd1eae181ef2350b9f087037d258c77500638fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Elgg collection add page
 *
 * @package Elgg.Core
 * @subpackage Friends.Collections
 */

$collection_id = get_input('collection_id');
$friends = get_input('friend');

//chech the collection exists and the current user owners it
update_access_collection($collection_id, $friends);