public function renewRestrictLogin($_user_no) { if (!RESTRICT_LOGIN || !$_user_no) { return; } $restrict = new RestrictLoginEntity(); $row = $restrict->sessionCheck($_user_no); if (!$row) { $restrict->db()->insertRecord($_user_no); } }