From 2a2ee649127c74afbf9448e37c43913828fd1dd7 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 17 Aug 2023 16:21:09 +0800 Subject: [PATCH] - Remove bug::ajaxGetByID. --- module/bug/control.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index 131f90d852..c5e5f05af5 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -1270,22 +1270,6 @@ class bug extends control return print(html::select('assignedTo', $allUsers, $selectedUser, 'class="form-control"')); } - /** - * Ajax get bug by ID. - * - * @param int $bugID - * @access public - * @return void - */ - public function ajaxGetByID(int $bugID) - { - $bug = $this->bug->getBaseInfo($bugID); - $realname = $this->dao->select('realname')->from(TABLE_USER)->where('account')->eq($bug->assignedTo)->fetch('realname'); - $bug->assignedTo = $realname ? $realname : $bug->assignedTo; - - return print(json_encode($bug)); - } - /** * Ajax 方式获取产品下拉菜单。 * Drop menu page.