mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-37085 Properly deprecated functions print_xxx() from course/lib.php
- get_print_section_cm_text() - print_section_add_menus() - print_section() - make_editing_buttons()
This commit is contained in:
parent
c58a25d6eb
commit
9a36be7361
10 changed files with 178 additions and 115 deletions
|
@ -35,5 +35,7 @@ $modulename = required_param('module', PARAM_PLUGIN);
|
|||
$displayname = optional_param('displayname', null, PARAM_TEXT);
|
||||
$contents = optional_param('contents', null, PARAM_RAW); // It will be up to each plugin to clean this data, before saving it.
|
||||
|
||||
$PAGE->set_url('/course/dndupload.php');
|
||||
|
||||
$dndproc = new dndupload_ajax_processor($courseid, $section, $type, $modulename);
|
||||
$dndproc->process($displayname, $contents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue