Browse files

Deleting uploaded files when deleting an assignment instance + fixed …

…quoting style + trailing whitespace MDL-6387
  • Loading branch information...
1 parent e7514ae commit 37e6138a3c4daea2be19249f18dd69d61e2e740d skodak committed Oct 18, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
View
2 mod/assignment/lib.php
@@ -478,7 +478,7 @@ function delete_instance($assignment) {
// delete file area with all attachments - ignore errors
require_once($CFG->libdir.'/filelib.php');
fulldelete($CFG->dataroot.'/'.$assignment->course.'/'.$CFG->moddata.'/assignment/'.$assignment->id);
-
+
return $result;
}

0 comments on commit 37e6138

Please sign in to comment.