mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-31500 backup: New unit test for front page backup/restore
This commit is contained in:
parent
ca0e301c7b
commit
818262afa5
2 changed files with 76 additions and 0 deletions
|
@ -266,6 +266,7 @@ class core_backup_renderer extends plugin_renderer_base {
|
|||
|
||||
$html = html_writer::start_tag('div', array('class'=>'backup-course-selector backup-restore'));
|
||||
if ($wholecourse && !empty($categories) && ($categories->get_count() > 0 || $categories->get_search())) {
|
||||
|
||||
// New course
|
||||
$hasrestoreoption = true;
|
||||
$html .= $form;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue