From 26b99f2e55b11e8e94047c67deaa2cf38ddfec8a Mon Sep 17 00:00:00 2001 From: jerome mouneyrac Date: Wed, 26 May 2010 13:40:43 +0000 Subject: [PATCH] webservice MDL-22580 remove some bad NULL_NOT_ALLOWED into the ws description of enrol --- enrol/externallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enrol/externallib.php b/enrol/externallib.php index 0a09041f62b..c48239e6f54 100644 --- a/enrol/externallib.php +++ b/enrol/externallib.php @@ -43,8 +43,8 @@ class moodle_enrol_external extends external_api { 'roleid' => new external_value(PARAM_INT, 'Role to assign to the user'), 'userid' => new external_value(PARAM_INT, 'The user that is going to be assigned'), 'contextid' => new external_value(PARAM_INT, 'The context to assign the user into '), - 'timestart' => new external_value(PARAM_INT, 'A valid and unique email address', VALUE_DEFAULT, 0, NULL_NOT_ALLOWED), - 'timeend' => new external_value(PARAM_INT, 'Auth plugins include manual, ldap, imap, etc', VALUE_DEFAULT, 0, NULL_NOT_ALLOWED) + 'timestart' => new external_value(PARAM_INT, 'A valid and unique email address', VALUE_DEFAULT, 0), + 'timeend' => new external_value(PARAM_INT, 'Auth plugins include manual, ldap, imap, etc', VALUE_DEFAULT, 0) ) ) )