added_contacts() documented
This commit is contained in:
parent
979366d017
commit
e7ed57da8a
1 changed files with 9 additions and 0 deletions
|
@ -5694,6 +5694,15 @@ function getSubscriptionsUploadsWeek($uid,$limit=20,$uploadsType="both",$uploads
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetches all friends of given user
|
||||||
|
* @param : { integer } { $user } { id of user to fetch friends against }
|
||||||
|
*
|
||||||
|
* @return : { array } { $data } { array with all friends details }
|
||||||
|
* @since : 15th April, 2016, ClipBucket 2.8.1
|
||||||
|
* @author : Saqib Razzaq
|
||||||
|
*/
|
||||||
|
|
||||||
function added_contacts($user) {
|
function added_contacts($user) {
|
||||||
global $db;
|
global $db;
|
||||||
$data = $db->select(tbl('contacts'),"*","(contact_userid = $user OR userid = $user) AND confirmed = 'yes'");
|
$data = $db->select(tbl('contacts'),"*","(contact_userid = $user OR userid = $user) AND confirmed = 'yes'");
|
||||||
|
|
Loading…
Add table
Reference in a new issue