Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-32079 folder revision must be incremented after any file change

  • Loading branch information...
commit 96f953cbe2497280ce2a2a078b855e659cf4824b 1 parent 832626d
@skodak skodak authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mod/folder/edit.php
View
1  mod/folder/edit.php
@@ -58,6 +58,7 @@
} 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)));
}

0 comments on commit 96f953c

Please sign in to comment.
Something went wrong with that request. Please try again.