MDL-15904 fixed assignment instance deleting
This commit is contained in:
@@ -411,12 +411,6 @@ class assignment_base {
|
||||
$result = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// delete file area with all attachments - ignore errors
|
||||
require_once($CFG->libdir.'/filelib.php');
|
||||
fulldelete($CFG->dataroot.'/'.$assignment->course.'/'.$CFG->moddata.'/assignment/'.$assignment->id);
|
||||
|
||||
assignment_grade_item_delete($assignment);
|
||||
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user