From 69afba56e69d4eff7abe81f5f7a2b21d676ba207 Mon Sep 17 00:00:00 2001 From: Skylar Kelty Date: Mon, 18 May 2015 16:47:25 +0100 Subject: [PATCH] MDL-50280 WebCT import scripts don't always clean up --- question/format/webct/format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/format/webct/format.php b/question/format/webct/format.php index ad7afd1eafc..83c800e1268 100644 --- a/question/format/webct/format.php +++ b/question/format/webct/format.php @@ -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'));