diff --git a/backup/util/ui/import_extensions.php b/backup/util/ui/import_extensions.php index 9fe31bb8745..a389b937195 100644 --- a/backup/util/ui/import_extensions.php +++ b/backup/util/ui/import_extensions.php @@ -161,10 +161,10 @@ class import_ui_stage_final extends backup_ui_stage_final {} class import_course_search extends restore_course_search { /** * Sets up any access restrictions for the courses to be displayed in the search. - * + * * This will typically call $this->require_capability(). */ protected function setup_restrictions() { $this->require_capability('moodle/backup:backuptargetimport'); } -} \ No newline at end of file +} diff --git a/backup/util/ui/restore_ui_components.php b/backup/util/ui/restore_ui_components.php index 85c61c8ab5a..adae38a6474 100644 --- a/backup/util/ui/restore_ui_components.php +++ b/backup/util/ui/restore_ui_components.php @@ -229,10 +229,10 @@ class restore_course_search extends restore_search_base { $this->setup_restrictions(); $this->currentcourseid = $currentcouseid; $this->includecurrentcourse = false; - } + } /** * Sets up any access restrictions for the courses to be displayed in the search. - * + * * This will typically call $this->require_capability(). */ protected function setup_restrictions() {