MDL-29072 Import course - whitespace fixes

This commit is contained in:
Eloy Lafuente (stronk7)
2011-09-05 10:42:55 +02:00
parent 85f5ab3145
commit 152ee16812
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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');
}
}
}
+2 -2
View File
@@ -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() {