From 742f61ce6cf2fdab6652c1e7c69a4476cac3ca96 Mon Sep 17 00:00:00 2001 From: Guanxiying Date: Tue, 15 Jun 2021 16:59:43 +0800 Subject: [PATCH] * Format code. --- module/gitlab/control.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/module/gitlab/control.php b/module/gitlab/control.php index 52fa0b9749..1df27782eb 100644 --- a/module/gitlab/control.php +++ b/module/gitlab/control.php @@ -79,9 +79,15 @@ class gitlab extends control */ public function bindUser($id) { - $gitlab = $this->gitlab->getByID($id); - $this->view->title = $this->lang->gitlab->bindUser; + if($_POST) + { + + } + + $gitlab = $this->gitlab->getByID($id); $zentaoUsers = $this->dao->select('account,email,realname')->from(TABLE_USER)->fetchAll('account'); + + $this->view->title = $this->lang->gitlab->bindUser; $this->view->userPairs = $this->loadModel('user')->getPairs(); $this->view->gitlabUsers = $this->gitlab->apiGetUsers($gitlab); $this->view->matchedResult = $this->gitlab->getMatchedUsers($this->view->gitlabUsers, $zentaoUsers);