|
|
|
@@ -708,7 +708,9 @@ class TB_Server_Control_Auth |
|
|
|
'team_id' => $team->id,
|
|
|
|
'role' => TB_Shared_Ent_TeamData_Profile::ROLE_TRAINER,
|
|
|
|
'is_anonymous' => 0,
|
|
|
|
'join_dt' => TB_Server_Utils_Helper::getUTCNowDateTime()
|
|
|
|
'join_dt' => TB_Server_Utils_Helper::getUTCNowDateTime(),
|
|
|
|
'status' => TB_Shared_Ent_TeamData_Profile::STATUS_ACTIVE,
|
|
|
|
'terms_accepted' => 0
|
|
|
|
));
|
|
|
|
$profile->teams_js = $teamsJson;
|
|
|
|
$profile->save();
|
|
|
|
|