mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-38808' of git://github.com/jmvedrine/moodle
This commit is contained in:
commit
998c5996e0
@ -99,7 +99,8 @@ class qformat_blackboard_six extends qformat_blackboard_six_base {
|
||||
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')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user