From 689687dd4ee186cb9cf5d0230b4648e242c53b10 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 20 Sep 2015 22:18:56 -0400 Subject: Add formatters --- app/Model/Base.php | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'app/Model/Base.php') 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 @@ -120,26 +120,6 @@ abstract class Base extends \Core\Base return $start_column.' IS NOT NULL AND '.$start_column.' > 0 AND ('.implode(' OR ', $conditions).')'; } - /** - * 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 * -- cgit v1.2.3