Handle priority for task and project duplication
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user