Skip to content
Browse files

MDL-27822 rename new methods

  • Loading branch information...
1 parent d4e9464 commit a1c5868475990980ff4bc6646dfb58d1940dbdca @stronk7 stronk7 committed Jun 14, 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
View
4 backup/moodle2/restore_activity_task.class.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;
}
View
2 backup/moodle2/restore_stepslib.php
@@ -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 a1c5868

Please sign in to comment.
Something went wrong with that request. Please try again.