From f390cb1bd541e1c1680c0ea2fa57cc1e2777e6c0 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 9 Oct 2024 08:57:24 +0800 Subject: [PATCH] * [refac] remove repeat method. --- module/kanban/control.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/module/kanban/control.php b/module/kanban/control.php index deb3b27266..0ff34832b9 100644 --- a/module/kanban/control.php +++ b/module/kanban/control.php @@ -1717,25 +1717,6 @@ class kanban extends control return print(json_encode($columnList)); } - /** - * 获取泳道的列。 - * Ajax get columns by lane id. - * - * @param int $laneID - * @access public - * @return string - */ - public function ajaxGetColumns(int $laneID) - { - $lane = $this->kanban->getLaneByID($laneID); - $columns = $this->kanban->getColumnPairsByGroup($lane->group); - - $columnList = array(); - foreach($columns as $columnID => $columnName) $columnList[] = array('value' => $columnID, 'text' => $columnName); - - return print(json_encode($columnList)); - } - /** * Ajax load space users. *