MDL-50280 WebCT import scripts don't always clean up

This commit is contained in:
Skylar Kelty
2015-05-18 16:47:25 +01:00
parent 2138e7eddc
commit 69afba56e6
+1 -1
View File
@@ -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'));