Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-38808 Remove deprecated unzip_file from qformat blackboard_six

  • Loading branch information...
commit 9219089a72c3b881ff57d54bc9224aadb4e4ae27 1 parent d8201d4
Jean-Michel Vedrine authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  question/format/blackboard_six/format.php
View
3  question/format/blackboard_six/format.php
@@ -99,7 +99,8 @@ public function readdata($filename) {
fulldelete($this->tempdir);
return false;
}
- if (unzip_file($this->tempdir . '/bboard.zip', '', false)) {
+ $packer = get_file_packer('application/zip');
+ if ($packer->extract_to_pathname($this->tempdir . '/bboard.zip', $this->tempdir)) {
$dom = new DomDocument();
if (!$dom->load($this->tempdir . '/imsmanifest.xml')) {
Please sign in to comment.
Something went wrong with that request. Please try again.