summaryrefslogtreecommitdiff
path: root/app/Model/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-04 16:31:34 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-04 16:31:34 -0500
commita7c157df3c0005d7c875ce972056b0c8b8872a26 (patch)
tree95a17e65d73d0b65a98bc571e4bf661952a1f656 /app/Model/Base.php
parentabe9371f32e55c3806c8dde41d1f555e5159752d (diff)
Remove model OverdueNotification
Diffstat (limited to 'app/Model/Base.php')
-rw-r--r--app/Model/Base.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/Model/Base.php b/app/Model/Base.php
index 6fe3d74a..635ed09a 100644
--- a/app/Model/Base.php
+++ b/app/Model/Base.php
@@ -135,23 +135,4 @@ abstract class Base extends \Kanboard\Core\Base
return $start_column.' IS NOT NULL AND '.$start_column.' > 0 AND ('.implode(' OR ', $conditions).')';
}
-
- /**
- * Group a collection of records by a column
- *
- * @access public
- * @param array $collection
- * @param string $column
- * @return array
- */
- public function groupByColumn(array $collection, $column)
- {
- $result = array();
-
- foreach ($collection as $item) {
- $result[$item[$column]][] = $item;
- }
-
- return $result;
- }
}