public function addTeam($teamId)
{
$team = Scalr_Account_Team::init()->loadById($teamId);
if ($team->accountId == $this->clientId) {
$this->removeTeam($teamId);
$this->db->Execute('INSERT INTO `account_team_envs` (team_id, env_id) VALUES(?,?)', array($teamId, $this->id));
} else {
throw new Exception('This team doesn\'t belongs to this account');
}
}