From 396ee01f539a2bea1e682a862dd2c384e0255d25 Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Thu, 22 Jul 2010 08:22:29 +0000 Subject: [PATCH] MDL-21432 backup - access to userid is done across task --- backup/util/plan/base_step.class.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/backup/util/plan/base_step.class.php b/backup/util/plan/base_step.class.php index 602381ca299..96db85f5bbd 100644 --- a/backup/util/plan/base_step.class.php +++ b/backup/util/plan/base_step.class.php @@ -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(); } -- 2.43.0