summaryrefslogtreecommitdiff
path: root/app/Model/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-20 22:18:56 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-20 22:18:56 -0400
commit689687dd4ee186cb9cf5d0230b4648e242c53b10 (patch)
tree3d26bc2079c6eb45790ba604b3a79997be4768ab /app/Model/Base.php
parentf579663adcbc0b202d9a068d734e8f9284dc3a37 (diff)
Add formatters
Diffstat (limited to 'app/Model/Base.php')
-rw-r--r--app/Model/Base.php20
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