* Adjust sonar error for gogs.

This commit is contained in:
caoyanyi
2023-12-18 19:19:44 +08:00
parent e0a4ec7347
commit 3e01a5a142
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -185,7 +185,6 @@ class gogs extends control
$gogsUsers = $this->gogs->apiGetUsers($gogsID);
$bindedUsers = $this->loadModel('pipeline')->getUserBindedPairs($gogsID, 'gogs');
$matchedResult = $this->gogsZen->getMatchedUsers($gogsID, $gogsUsers);
$bindedUsers = $this->pipeline->getUserBindedPairs($gogsID, 'gitea');
$zentaoUsers = $this->loadModel('user')->getRealNameAndEmails(helper::arrayColumn($matchedResult, 'zentaoAccount'));
foreach($gogsUsers as $gogsUser)