MDL-58768 Calendar: Update get_raw_events_legacy_implementation
authorShamim Rezaie <shamim@moodle.com>
Wed, 28 Mar 2018 14:58:06 +0000 (01:58 +1100)
committerShamim Rezaie <shamim@moodle.com>
Fri, 27 Jul 2018 21:51:32 +0000 (07:51 +1000)
commit7385ee37f9c3f5e80a926922ada4b424be463457
tree5ccd9d1935d6b55104e4c486b54453d5fc801393
parentd8c6c21c9566b8e3757800fd2fa6f77eab7d0936
MDL-58768 Calendar: Update get_raw_events_legacy_implementation

Update get_raw_events_legacy_implementation to work with the passed $users parameter instead of the logged in user.
Also, fixed a bug where get_raw_events_legacy_implementation was failing when $users was set to true, and a list of
$groups was given.
calendar/classes/local/event/strategies/raw_event_retrieval_strategy.php
calendar/tests/raw_event_retrieval_strategy_test.php