X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fuser.phh;h=51956c8ece15d3c5fd6c96a3853e78bff676e561;hb=7b4375bcaf7de9530942d79b3bb78991054d7e84;hp=416dbb4f77c9c9444e598a88ccc9030ee913e4f7;hpb=0aa15362fed8ca3bc4e3f23c02f04de50d293ca8;p=brisk.git diff --git a/web/Obj/user.phh b/web/Obj/user.phh index 416dbb4..51956c8 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -762,6 +762,21 @@ static function base_get() return $c::BASE; } +function is_supp_custom() +{ + if ($this->rec != FALSE) { + if ($this->flags & USER_FLAG_TY_SUPER) { + return (TRUE); + } + /* + if ($this->rec->last_dona > 1356994800) { + return (TRUE); + } + */ + } + return (FALSE); +} + } // end class User