summaryrefslogtreecommitdiff
path: root/app/Model/TaskStatus.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-03 17:21:29 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-03 17:21:29 -0400
commit260c8515c507b8c339fdbe1a10b0f13792eac09d (patch)
tree39483e9918e1589786144af79b367492f04e2281 /app/Model/TaskStatus.php
parentd7c0fabcb79fd72993cd00fe00d49bc5656bc204 (diff)
Add more unit tests
Diffstat (limited to 'app/Model/TaskStatus.php')
-rw-r--r--app/Model/TaskStatus.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/Model/TaskStatus.php b/app/Model/TaskStatus.php
index 3f62667c..23d77fa4 100644
--- a/app/Model/TaskStatus.php
+++ b/app/Model/TaskStatus.php
@@ -13,23 +13,6 @@ use Event\TaskEvent;
class TaskStatus extends Base
{
/**
- * Return the list of statuses
- *
- * @access public
- * @param boolean $prepend Prepend default value
- * @return array
- */
- public function getList($prepend = false)
- {
- $listing = $prepend ? array(-1 => t('All status')) : array();
-
- return $listing + array(
- Task::STATUS_OPEN => t('Open'),
- Task::STATUS_CLOSED => t('Closed'),
- );
- }
-
- /**
* Return true if the task is closed
*
* @access public