diff --git a/backup/backup.php b/backup/backup.php index 1f80265845f..2847665f4fa 100644 --- a/backup/backup.php +++ b/backup/backup.php @@ -98,7 +98,7 @@ $PAGE->navbar->add($backup->get_stage_name()); $renderer = $PAGE->get_renderer('core','backup'); echo $OUTPUT->header(); 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 $backup->display($renderer); diff --git a/backup/import.php b/backup/import.php index 79096c07ad5..4de77b22f35 100644 --- a/backup/import.php +++ b/backup/import.php @@ -154,7 +154,7 @@ $PAGE->navbar->add($backup->get_stage_name()); // Display the current stage echo $OUTPUT->header(); 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 $backup->display($renderer); diff --git a/backup/restore.php b/backup/restore.php index 2ac6b7847f9..6091c092bbc 100644 --- a/backup/restore.php +++ b/backup/restore.php @@ -61,7 +61,7 @@ $PAGE->navbar->add($restore->get_stage_name()); $renderer = $PAGE->get_renderer('core','backup'); echo $OUTPUT->header(); 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 $restore->display($renderer); diff --git a/course/publish/backup.php b/course/publish/backup.php index cc9c62a9983..15e091ad7a2 100644 --- a/course/publish/backup.php +++ b/course/publish/backup.php @@ -78,7 +78,7 @@ if ($backup->get_stage() !== backup_ui::STAGE_COMPLETE) { echo $OUTPUT->header(); echo $OUTPUT->heading(get_string('publishcourseon', 'hub', !empty($hubname)?$hubname:$huburl), 3, 'main'); 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 $backup->display($renderer);