MDL-50280 WebCT import scripts don't always clean up
This commit is contained in:
@@ -323,7 +323,7 @@ class qformat_webct extends qformat_default {
|
||||
return file($dirfiles[1]);
|
||||
} else {
|
||||
$this->error(get_string('cannotunzip', 'question'));
|
||||
fulldelete($this->temp_dir);
|
||||
fulldelete($this->tempdir);
|
||||
}
|
||||
} else {
|
||||
$this->error(get_string('cannotreaduploadfile', 'error'));
|
||||
|
||||
Reference in New Issue
Block a user