From 035963296370e881de67fed7406df6e388afe2df Mon Sep 17 00:00:00 2001 From: Andi Date: Tue, 11 Oct 2016 18:37:01 +0200 Subject: use order from schedule.xml aka frab and do not resort by key --- model/Schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model') diff --git a/model/Schedule.php b/model/Schedule.php index 9fdc32d..78b02e5 100644 --- a/model/Schedule.php +++ b/model/Schedule.php @@ -241,7 +241,7 @@ class Schedule extends ModelBase else { // sort by key - ksort($program); + //ksort($program); } return $program; -- cgit v1.2.3 From 335c2688c6166b6abf5c63f41d20746debeadc59 Mon Sep 17 00:00:00 2001 From: Peter Körner Date: Wed, 12 Oct 2016 09:27:00 +0200 Subject: delete dead code-path --- model/Schedule.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'model') diff --git a/model/Schedule.php b/model/Schedule.php index 78b02e5..c0ff69b 100644 --- a/model/Schedule.php +++ b/model/Schedule.php @@ -238,11 +238,6 @@ class Schedule extends ModelBase return array_search($a, $roomfilter) - array_search($b, $roomfilter); }); } - else - { - // sort by key - //ksort($program); - } return $program; } -- cgit v1.2.3