MDL-60654 calendar: Clean up lines 140-154
commit969010296da70862d10492d0866ecba05d52db04
authorJoão Umberto Ciocca de Almeida <joaociocca@users.noreply.github.com>
Wed, 8 Nov 2017 20:36:03 +0000 (8 18:36 -0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 29 Nov 2017 05:56:16 +0000 (29 06:56 +0100)
tree38904018d12432aeedb33ab94697271ee11168eb
parent87186b9710a22e685f2a750d07ea3f28caab2117
MDL-60654 calendar: Clean up lines 140-154

The if+switch code between lines 140 and 154, even though they selected 3 different choices, all of them gave the same result.
Therefore, it'd be cleaner to replace those 16 lines for just two.
calendar/view.php