mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'w12_MDL-32079_m23_folderrev' of git://github.com/skodak/moodle
This commit is contained in:
commit
b896c12bca
@ -58,6 +58,7 @@ if ($mform->is_cancelled()) {
|
||||
|
||||
} else if ($formdata = $mform->get_data()) {
|
||||
$formdata = file_postupdate_standard_filemanager($formdata, 'files', $options, $context, 'mod_folder', 'content', 0);
|
||||
$DB->set_field('folder', 'revision', $folder->revision+1, array('id'=>$folder->id));
|
||||
redirect(new moodle_url('/mod/folder/view.php', array('id'=>$cm->id)));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user