diff options
Diffstat (limited to 'app/Model/Base.php')
-rw-r--r-- | app/Model/Base.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/app/Model/Base.php b/app/Model/Base.php index 3ee60844..a15f071c 100644 --- a/app/Model/Base.php +++ b/app/Model/Base.php @@ -121,26 +121,6 @@ abstract class Base extends \Core\Base } /** - * Get common properties for task calendar events - * - * @access protected - * @param array $task - * @return array - */ - protected function getTaskCalendarProperties(array &$task) - { - return array( - 'timezoneParam' => $this->config->getCurrentTimezone(), - 'id' => $task['id'], - 'title' => t('#%d', $task['id']).' '.$task['title'], - 'backgroundColor' => $this->color->getBackgroundColor($task['color_id']), - 'borderColor' => $this->color->getBorderColor($task['color_id']), - 'textColor' => 'black', - 'url' => $this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])), - ); - } - - /** * Group a collection of records by a column * * @access public |