Skip to content

Commit

Permalink
course-import MDL-24176 Added mimetype mapping for moodle backup file…
Browse files Browse the repository at this point in the history
…s to get_file_packer
  • Loading branch information
Sam Hemelryk committed Sep 16, 2010
1 parent 74535bb commit 3991bd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/moodlelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -5179,6 +5179,7 @@ function get_file_packer($mimetype='application/zip') {

switch ($mimetype) {
case 'application/zip':
case 'application/vnd.moodle.backup':
$classname = 'zip_packer';
break;
case 'application/x-tar':
Expand Down

0 comments on commit 3991bd7

Please sign in to comment.