Merge branch 'w25_MDL-33733_m20_unzipstorage' of git://github.com/skodak/moodle into MOODLE_20_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2012-06-25 01:30:29 +02:00
+1 -1
View File
@@ -279,7 +279,7 @@ class zip_packer extends file_packer {
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');