MDL-21432 backup - access to userid is done across task
This commit is contained in:
@@ -94,13 +94,6 @@ abstract class base_step implements executable, loggable {
|
||||
return $this->task->get_courseid();
|
||||
}
|
||||
|
||||
protected function get_userid() {
|
||||
if (is_null($this->task)) {
|
||||
throw new base_step_exception('not_specified_base_task');
|
||||
}
|
||||
return $this->task->get_userid();
|
||||
}
|
||||
|
||||
protected function get_basepath() {
|
||||
return $this->task->get_basepath();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user