Skip to content

Commit

Permalink
MDL-27822 rename new methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jun 13, 2011
1 parent be7b29e commit 25b4558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backup/moodle2/restore_activity_task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion backup/moodle2/restore_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 25b4558

Please sign in to comment.