Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba3e7df
)
MDL-33733 fix broken zip_packer->extract_to_storage() when extracting from stored_file
author
Petr Skoda
<commits@skodak.org>
Thu, 14 Jun 2012 11:19:58 +0000
(13:19 +0200)
committer
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Sun, 24 Jun 2012 23:32:50 +0000
(
01:32
+0200)
lib/filestorage/zip_packer.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/filestorage/zip_packer.php
b/lib/filestorage/zip_packer.php
index
2cae435
..
a7726a6
100644
(file)
--- a/
lib/filestorage/zip_packer.php
+++ b/
lib/filestorage/zip_packer.php
@@
-299,7
+299,7
@@
class zip_packer extends file_packer {
global $CFG;
if (!is_string($archivefile)) {
- return $archivefile->extract_to_
pathnam
e($this, $contextid, $component, $filearea, $itemid, $pathbase, $userid);
+ return $archivefile->extract_to_
storag
e($this, $contextid, $component, $filearea, $itemid, $pathbase, $userid);
}
check_dir_exists($CFG->tempdir.'/zip');