From a7c157df3c0005d7c875ce972056b0c8b8872a26 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 4 Mar 2016 16:31:34 -0500 Subject: Remove model OverdueNotification --- app/Model/Base.php | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'app/Model/Base.php') 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; - } } -- cgit v1.2.3