mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-66489 enrol: Send all form data to WS and do all busines logic there
It is discouraged to use JS Date functions. We should pass all raw data to PHP.
This commit is contained in:
parent
310d6901f9
commit
2d4ce64dde
8 changed files with 247 additions and 45 deletions
|
@ -647,7 +647,16 @@ $functions = array(
|
|||
'classname' => 'core_enrol_external',
|
||||
'methodname' => 'edit_user_enrolment',
|
||||
'classpath' => 'enrol/externallib.php',
|
||||
'description' => 'External function that updates a given user enrolment',
|
||||
'description' => '** DEPRECATED ** Please do not call this function any more.
|
||||
External function that updates a given user enrolment',
|
||||
'type' => 'write',
|
||||
'ajax' => true,
|
||||
),
|
||||
'core_enrol_submit_user_enrolment_form' => array(
|
||||
'classname' => 'core_enrol_external',
|
||||
'methodname' => 'submit_user_enrolment_form',
|
||||
'classpath' => 'enrol/externallib.php',
|
||||
'description' => 'Submit form data for enrolment form',
|
||||
'type' => 'write',
|
||||
'ajax' => true,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue