Permalink
Browse files

MDL-27822 rename new methods

  • Loading branch information...
1 parent be7b29e commit 25b4558c40f2dc9e28d309d844b0cd630758c716 @stronk7 stronk7 committed Jun 13, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 backup/moodle2/restore_activity_task.class.php
  2. +1 −1 backup/moodle2/restore_stepslib.php
@@ -67,7 +67,7 @@ public function set_moduleid($moduleid) {
$this->moduleid = $moduleid;
}
- public function set_old_module_version($oldmoduleversion) {
+ public function set_old_moduleversion($oldmoduleversion) {
$this->oldmoduleversion = $oldmoduleversion;
}
@@ -95,7 +95,7 @@ public function get_moduleid() {
return $this->moduleid;
}
- public function get_old_module_version() {
+ public function get_old_moduleversion() {
return $this->oldmoduleversion;
}
@@ -2025,7 +2025,7 @@ protected function process_module($data) {
$data = (object)$data;
$oldid = $data->id;
- $this->task->set_old_module_version($data->version);
+ $this->task->set_old_moduleversion($data->version);
$data->course = $this->task->get_courseid();
$data->module = $DB->get_field('modules', 'id', array('name' => $data->modulename));

0 comments on commit 25b4558

Please sign in to comment.