Skip to content

Commit

Permalink
community block MDL-24606 fix the 'download finished' message that wa…
Browse files Browse the repository at this point in the history
…s misplaced
  • Loading branch information
mouneyrac committed Oct 15, 2010
1 parent 2e67ff5 commit 65a0030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/community/communitycourse.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@
echo html_writer::tag('div', get_string('downloadingsize', 'block_community', $sizeinfo),
array('class' => 'textinfo'));
flush();
$filenames = $communitymanager->block_community_download_course_backup($course);
echo html_writer::tag('div', get_string('downloaded', 'block_community'),
array('class' => 'textinfo'));
$filenames = $communitymanager->block_community_download_course_backup($course);
echo $OUTPUT->notification(get_string('downloadconfirmed', 'block_community',
'/downloaded_backup/' . $filenames['privatefile']), 'notifysuccess');
echo $renderer->restore_confirmation_box($filenames['tmpfile'], $context);
Expand Down

0 comments on commit 65a0030

Please sign in to comment.