Small tweak to specify specifically number of files in an update
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
assignment_delete_user_files($assignment, $USER, $newfile_name);
|
||||
if ($submission) {
|
||||
$submission->timemodified = time();
|
||||
$submission->numfiles = 1;
|
||||
if (update_record("assignment_submissions", $submission)) {
|
||||
print_heading(get_string("uploadsuccess", "assignment", $newfile_name) );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user