Skip to content

Commit

Permalink
MDL-38808 Remove deprecated unzip_file from qformat blackboard_six
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Michel Vedrine committed Apr 1, 2013
1 parent d8201d4 commit 9219089
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion question/format/blackboard_six/format.php
Expand Up @@ -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')) {
Expand Down

0 comments on commit 9219089

Please sign in to comment.