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:
Mike Macgirvin 2010-09-21 19:51:08 -07:00
parent 399b6828f6
commit 188dc1fcf8
8 changed files with 25 additions and 28 deletions

View file

@ -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);