Merge pull request #1505 from annando/1504-unified-follow
The behaviour when following a new contact is now unified
This commit is contained in:
commit
8b2742dc7d
8 changed files with 128 additions and 16 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
function new_contact($uid,$url,$interactive = false) {
|
||||
|
||||
$result = array('success' => false,'message' => '');
|
||||
$result = array('cid' => -1, 'success' => false,'message' => '');
|
||||
|
||||
$a = get_app();
|
||||
|
||||
|
@ -208,7 +208,7 @@ function new_contact($uid,$url,$interactive = false) {
|
|||
|
||||
$contact = $r[0];
|
||||
$contact_id = $r[0]['id'];
|
||||
|
||||
$result['cid'] = $contact_id;
|
||||
|
||||
$g = q("select def_gid from user where uid = %d limit 1",
|
||||
intval($uid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue