summaryrefslogtreecommitdiff
path: root/app/Model/ProjectModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-02 16:36:10 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-02 16:36:10 -0400
commit10d577ad9d1b2976cdb080a7d7df3944e0db170f (patch)
tree8346340a1855db3db6ec7d412e1d1a0cf6cdd17e /app/Model/ProjectModel.php
parent8e56148a6dda1f6b1a78a759e69e600b79bdddd2 (diff)
Handle priority for task and project duplication
Diffstat (limited to 'app/Model/ProjectModel.php')
-rw-r--r--app/Model/ProjectModel.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/Model/ProjectModel.php b/app/Model/ProjectModel.php
index 7382537e..850531c9 100644
--- a/app/Model/ProjectModel.php
+++ b/app/Model/ProjectModel.php
@@ -246,19 +246,6 @@ class ProjectModel extends Base
}
/**
- * Get Priority range from a project
- *
- * @access public
- * @param array $project
- * @return array
- */
- public function getPriorities(array $project)
- {
- $range = range($project['priority_start'], $project['priority_end']);
- return array_combine($range, $range);
- }
-
- /**
* Gather some task metrics for a given project
*
* @access public