mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:50:11 +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
5
boot.php
5
boot.php
|
@ -11,10 +11,7 @@ define ( 'REGISTER_CLOSED', 0);
|
|||
define ( 'REGISTER_APPROVE', 1);
|
||||
define ( 'REGISTER_OPEN', 2);
|
||||
|
||||
define ( 'DIRECTION_NONE', 0); // No relationship
|
||||
define ( 'DIRECTION_IN', 1); // VIP e.g. has FAN
|
||||
define ( 'DIRECTION_OUT', 2); // FAN to a VIP
|
||||
define ( 'DIRECTION_BOTH', 3); // Mutual Friends
|
||||
// relationship types
|
||||
|
||||
define ( 'REL_VIP', 1);
|
||||
define ( 'REL_FAN', 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue