Permalink
Browse files

MDL-22146 backup & restore - copy/paste fix

  • Loading branch information...
1 parent 4ab111b commit e5169d52294f0751ace46e74c79147a5ea92a5e0 @stronk7 stronk7 committed Feb 10, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 backup/moodle2/backup_plugin.class.php
  2. +1 −1 backup/moodle2/backup_subplugin.class.php
View
2 backup/moodle2/backup_plugin.class.php
@@ -65,7 +65,7 @@ public function define_plugin_structure($connectionpoint) {
*/
protected function get_setting_value($name) {
if (is_null($this->task)) {
- throw new restore_step_exception('not_specified_restore_task');
+ throw new backup_step_exception('not_specified_backup_task');
}
return $this->task->get_setting_value($name);
}
View
2 backup/moodle2/backup_subplugin.class.php
@@ -66,7 +66,7 @@ public function define_subplugin_structure($connectionpoint) {
*/
protected function get_setting_value($name) {
if (is_null($this->task)) {
- throw new restore_step_exception('not_specified_restore_task');
+ throw new backup_step_exception('not_specified_backup_task');
}
return $this->task->get_setting_value($name);
}

0 comments on commit e5169d5

Please sign in to comment.