diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-18 13:38:51 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-18 13:38:51 -0500 |
commit | 49c8e5c1be15b9732023703473bb7e15864770f6 (patch) | |
tree | a4dcf83e0601fd734d44ad67e36299921959c3c2 /app/Model/ColumnModel.php | |
parent | 948b7fbaaa58c0a825938f7e8bda9a07ec39239b (diff) |
Prevent people to remove swimlanes that contains tasks
Diffstat (limited to 'app/Model/ColumnModel.php')
-rw-r--r-- | app/Model/ColumnModel.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/ColumnModel.php b/app/Model/ColumnModel.php index da5ea856..05f76fb9 100644 --- a/app/Model/ColumnModel.php +++ b/app/Model/ColumnModel.php @@ -121,13 +121,13 @@ class ColumnModel extends Base } /** - * Get all columns with tasks count + * Get all columns with task count * * @access public * @param integer $project_id Project id * @return array */ - public function getAllWithTasksCount($project_id) + public function getAllWithTaskCount($project_id) { return $this->db->table(self::TABLE) ->columns('id', 'title', 'position', 'task_limit', 'description', 'hide_in_dashboard', 'project_id') |