* adjust for add team status.
This commit is contained in:
@@ -2734,30 +2734,6 @@ class executionModel extends model
|
||||
->fetchGroup('root');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the skip members of the team.
|
||||
*
|
||||
* @param array $teams
|
||||
* @param string $begin
|
||||
* @param string $end
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function getTeamSkip($teams, $begin, $end)
|
||||
{
|
||||
$members = array();
|
||||
foreach($teams as $team)
|
||||
{
|
||||
$account = $team->account;
|
||||
if($account == $end) break;
|
||||
if(!empty($begin) and $account != $begin and empty($members)) continue;
|
||||
|
||||
$members[$account] = $team;
|
||||
}
|
||||
|
||||
return $members;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get teams which can be imported.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user