* Fix feedback #1530.

This commit is contained in:
tanghucheng
2022-11-24 10:10:31 +08:00
parent 0428c7e973
commit 60e8bec22f
2 changed files with 1 additions and 9 deletions
-7
View File
@@ -43,13 +43,6 @@ class gitlab extends control
/* Admin user don't need bind. */
$gitlabList = $this->gitlab->getList($orderBy, $pager);
$myGitLabs = $this->gitlab->getGitLabListByAccount();
foreach($gitlabList as $gitlab)
{
$gitlab->isBindUser = true;
if(!$this->app->user->admin and !isset($myGitLabs[$gitlab->id])) $gitlab->isBindUser = false;
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browse;
$this->view->gitlabList = $gitlabList;