Handle priority for task and project duplication

This commit is contained in:
Frederic Guillot
2016-07-02 16:36:10 -04:00
parent 8e56148a6d
commit 10d577ad9d
11 changed files with 279 additions and 129 deletions

View File

@@ -245,19 +245,6 @@ class ProjectModel extends Base
->count();
}
/**
* 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
*