MDL-29072 Import course - whitespace fixes
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user