From 7e781cfc2b123adddd13c21065fd1565f8fe0183 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Tue, 14 Nov 2017 14:12:17 +0800 Subject: [PATCH] MDL-60751 core_calendar: remove useless NULL_ALLOWED parameter --- calendar/externallib.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/calendar/externallib.php b/calendar/externallib.php index 213930f7ffc..49726099472 100644 --- a/calendar/externallib.php +++ b/calendar/externallib.php @@ -127,23 +127,19 @@ class core_calendar_external extends external_api { 'eventids' => new external_multiple_structure( new external_value(PARAM_INT, 'event ids') , 'List of event ids', - VALUE_DEFAULT, array(), NULL_ALLOWED - ), + VALUE_DEFAULT, array()), 'courseids' => new external_multiple_structure( new external_value(PARAM_INT, 'course ids') , 'List of course ids for which events will be returned', - VALUE_DEFAULT, array(), NULL_ALLOWED - ), + VALUE_DEFAULT, array()), 'groupids' => new external_multiple_structure( new external_value(PARAM_INT, 'group ids') , 'List of group ids for which events should be returned', - VALUE_DEFAULT, array(), NULL_ALLOWED - ), + VALUE_DEFAULT, array()), 'categoryids' => new external_multiple_structure( new external_value(PARAM_INT, 'Category ids'), 'List of category ids for which events will be returned', - VALUE_DEFAULT, array() - ), + VALUE_DEFAULT, array()), ), 'Event details', VALUE_DEFAULT, array()), 'options' => new external_single_structure( array(