Skip to content

Commit

Permalink
Merge branch 'MDL-36957-master' of git://github.com/FMCorz/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Jun 2, 2015
2 parents 554dedf + 725d18f commit 77679fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backup/util/helper/backup_general_helper.class.php
Expand Up @@ -230,8 +230,9 @@ public static function get_backup_information($tempdir) {
case 'activity':
$info->activities[$setting['activity']]->settings[$setting['name']] = $setting['value'];
break;
default: // Shouldn't happen
throw new backup_helper_exception('wrong_setting_level_moodle_backup_xml_file', $setting['level']);
default: // Shouldn't happen but tolerated for portability of customized backups.
debugging("Unknown backup setting level: {$setting['level']}", DEBUG_DEVELOPER);
break;
}
}

Expand Down

0 comments on commit 77679fb

Please sign in to comment.