diff --git a/lib/filestorage/zip_packer.php b/lib/filestorage/zip_packer.php index 4eb67c0b14a84..099944da12a48 100644 --- a/lib/filestorage/zip_packer.php +++ b/lib/filestorage/zip_packer.php @@ -279,7 +279,7 @@ public function extract_to_storage($archivefile, $contextid, $component, $filear global $CFG; if (!is_string($archivefile)) { - return $archivefile->extract_to_pathname($this, $contextid, $component, $filearea, $itemid, $pathbase, $userid); + return $archivefile->extract_to_storage($this, $contextid, $component, $filearea, $itemid, $pathbase, $userid); } check_dir_exists($CFG->dataroot.'/temp/zip');