Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-33733 fix broken zip_packer->extract_to_storage() when extracting…

… from stored_file
  • Loading branch information...
commit c2c10bb22234dd62b340df8481d33cf39ae3935b 1 parent 4a6ddf7
Petr Škoda authored June 14, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/filestorage/zip_packer.php
2  lib/filestorage/zip_packer.php
@@ -279,7 +279,7 @@ public function extract_to_storage($archivefile, $contextid, $component, $filear
279 279
         global $CFG;
280 280
 
281 281
         if (!is_string($archivefile)) {
282  
-            return $archivefile->extract_to_pathname($this, $contextid, $component, $filearea, $itemid, $pathbase, $userid);
  282
+            return $archivefile->extract_to_storage($this, $contextid, $component, $filearea, $itemid, $pathbase, $userid);
283 283
         }
284 284
 
285 285
         check_dir_exists($CFG->dataroot.'/temp/zip');

0 notes on commit c2c10bb

Please sign in to comment.
Something went wrong with that request. Please try again.