relationship direction was too confusing to work with. instead of "in,out,both" it's now declared by role e.g. "vip,fan,bud".
This commit is contained in:
parent
399b6828f6
commit
188dc1fcf8
8 changed files with 25 additions and 28 deletions
|
@ -696,7 +696,7 @@ function photos_content(&$a) {
|
|||
$profile_url = $item['url'];
|
||||
|
||||
if(local_user() && ($item['contact-uid'] == get_uid())
|
||||
&& ($item['rel'] == DIRECTION_IN || $item['rel'] == DIRECTION_BOTH) && (! $item['self'] ))
|
||||
&& ($item['rel'] == REL_VIP || $item['rel'] == REL_BUD) && (! $item['self'] ))
|
||||
$profile_url = $redirect_url;
|
||||
|
||||
$profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue