mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:10:12 +00:00
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
|
@ -10,8 +10,8 @@ function can_write_wall(&$a,$owner) {
|
|||
AND `readonly` = 0 AND `rel` IN ( %d , %d ) LIMIT 1",
|
||||
intval($owner),
|
||||
intval($_SESSION['visitor_id']),
|
||||
intval(DIRECTION_OUT),
|
||||
intval(DIRECTION_BOTH)
|
||||
intval(REL_VIP),
|
||||
intval(REL_BUD)
|
||||
);
|
||||
if(count($r))
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue