mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-35056 - Backup/Restore - Converting the 'Unmet Dependencies' Message to be a Developer Debug message to make moodle less confusing to the average user
This commit is contained in:
parent
46b553787c
commit
c8d1e4aa8c
@ -98,7 +98,7 @@ $PAGE->navbar->add($backup->get_stage_name());
|
|||||||
$renderer = $PAGE->get_renderer('core','backup');
|
$renderer = $PAGE->get_renderer('core','backup');
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
if ($backup->enforce_changed_dependencies()) {
|
if ($backup->enforce_changed_dependencies()) {
|
||||||
echo $renderer->dependency_notification(get_string('dependenciesenforced','backup'));
|
debugging('Your settings have been altered due to unmet dependencies', DEBUG_DEVELOPER);
|
||||||
}
|
}
|
||||||
echo $renderer->progress_bar($backup->get_progress_bar());
|
echo $renderer->progress_bar($backup->get_progress_bar());
|
||||||
echo $backup->display($renderer);
|
echo $backup->display($renderer);
|
||||||
|
@ -154,7 +154,7 @@ $PAGE->navbar->add($backup->get_stage_name());
|
|||||||
// Display the current stage
|
// Display the current stage
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
if ($backup->enforce_changed_dependencies()) {
|
if ($backup->enforce_changed_dependencies()) {
|
||||||
echo $renderer->dependency_notification(get_string('dependenciesenforced','backup'));
|
debugging('Your settings have been altered due to unmet dependencies', DEBUG_DEVELOPER);
|
||||||
}
|
}
|
||||||
echo $renderer->progress_bar($backup->get_progress_bar());
|
echo $renderer->progress_bar($backup->get_progress_bar());
|
||||||
echo $backup->display($renderer);
|
echo $backup->display($renderer);
|
||||||
|
@ -61,7 +61,7 @@ $PAGE->navbar->add($restore->get_stage_name());
|
|||||||
$renderer = $PAGE->get_renderer('core','backup');
|
$renderer = $PAGE->get_renderer('core','backup');
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
if (!$restore->is_independent() && $restore->enforce_changed_dependencies()) {
|
if (!$restore->is_independent() && $restore->enforce_changed_dependencies()) {
|
||||||
echo $renderer->dependency_notification(get_string('dependenciesenforced','backup'));
|
debugging('Your settings have been altered due to unmet dependencies', DEBUG_DEVELOPER);
|
||||||
}
|
}
|
||||||
echo $renderer->progress_bar($restore->get_progress_bar());
|
echo $renderer->progress_bar($restore->get_progress_bar());
|
||||||
echo $restore->display($renderer);
|
echo $restore->display($renderer);
|
||||||
|
@ -78,7 +78,7 @@ if ($backup->get_stage() !== backup_ui::STAGE_COMPLETE) {
|
|||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
echo $OUTPUT->heading(get_string('publishcourseon', 'hub', !empty($hubname)?$hubname:$huburl), 3, 'main');
|
echo $OUTPUT->heading(get_string('publishcourseon', 'hub', !empty($hubname)?$hubname:$huburl), 3, 'main');
|
||||||
if ($backup->enforce_changed_dependencies()) {
|
if ($backup->enforce_changed_dependencies()) {
|
||||||
echo $renderer->dependency_notification(get_string('dependenciesenforced', 'backup'));
|
debugging('Your settings have been altered due to unmet dependencies', DEBUG_DEVELOPER);
|
||||||
}
|
}
|
||||||
echo $renderer->progress_bar($backup->get_progress_bar());
|
echo $renderer->progress_bar($backup->get_progress_bar());
|
||||||
echo $backup->display($renderer);
|
echo $backup->display($renderer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user