doc update plus fix the "only to those in my address book" permission

This commit is contained in:
friendica
2013-05-18 01:25:54 -07:00
parent 9b66f16a01
commit f2de266ce6
36 changed files with 336 additions and 254 deletions

View File

@@ -164,10 +164,13 @@ function get_all_perms($uid,$observer_xchan,$internal_use = true) {
// If PERMS_CONTACTS or PERMS_SPECIFIC, they need to be in your address book
// $x is a valid address book entry
if(! $x) {
$ret[$perm_name] = false;
continue;
}
if(($r) && ($r[0][$channel_perm] & PERMS_CONTACTS)) {
@@ -192,6 +195,8 @@ function get_all_perms($uid,$observer_xchan,$internal_use = true) {
continue;
}
$arr = array(
'channel_id' => $uid,
'observer_hash' => $observer_xchan,