* adjust for add team status.

This commit is contained in:
wangyidong
2022-08-18 16:28:37 +08:00
parent 426423881e
commit 1a9905ec88
5 changed files with 149 additions and 222 deletions
-24
View File
@@ -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.
*