MDL-60628 calendar: support category events on get_calendar_events ws

This commit is contained in:
Simey Lameze
2017-11-09 11:29:07 +08:00
parent ccf7578373
commit 10c17dcc10
2 changed files with 66 additions and 6 deletions
+1
View File
@@ -3289,6 +3289,7 @@ function core_calendar_user_preferences() {
* @param boolean $withduration whether only events starting within time range selected
* or events in progress/already started selected as well
* @param boolean $ignorehidden whether to select only visible events or all events
* @param array $categories array of category ids and/or objects.
* @return array $events of selected events or an empty array if there aren't any (or there was an error)
*/
function calendar_get_legacy_events($tstart, $tend, $users, $groups, $courses,