MDL-21432 backup - access to userid is done across task
authorEloy Lafuente <stronk7@moodle.org>
Thu, 22 Jul 2010 08:22:29 +0000 (08:22 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Thu, 22 Jul 2010 08:22:29 +0000 (08:22 +0000)
backup/util/plan/base_step.class.php

index 602381c..96db85f 100644 (file)
@@ -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();
     }