Merge branch 'MDL-30249-MOODLE_22_STABLE' of git://github.com/mouneyrac/moodle into MOODLE_22_STABLE

This commit is contained in:
Sam Hemelryk 2012-02-21 14:56:13 +13:00
commit 31593361a8
2 changed files with 6 additions and 0 deletions

View file

@ -110,6 +110,9 @@ if ($usercandownload and $download != -1 and !empty($downloadcourseid) and confi
$sizeinfo->total = number_format($backupsize / 1000000, 2);
echo html_writer::tag('div', get_string('downloadingsize', 'block_community', $sizeinfo),
array('class' => 'textinfo'));
if (ob_get_level()) {
ob_flush();
}
flush();
$filenames = $communitymanager->block_community_download_course_backup($course);
echo html_writer::tag('div', get_string('downloaded', 'block_community'),

View file

@ -100,6 +100,9 @@ echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('sendingcourse', 'hub'), 3, 'main');
$renderer = $PAGE->get_renderer('core', 'publish');
echo $renderer->sendingbackupinfo($backupfile);
if (ob_get_level()) {
ob_flush();
}
flush();
//send backup file to the hub