Skip to content

Commit

Permalink
Merge branch 'wip-MSFTMPP-178-m28' into MOODLE_28_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcq committed Jun 2, 2015
2 parents 2e79151 + 315fea8 commit 020f503
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function define_grade_subplugin_structure() {
// Create XML elements.
$subplugin = $this->get_subplugin_element();
$subpluginwrapper = new backup_nested_element($this->get_recommended_name());
$subpluginelement = new backup_nested_element('feedback_file', null, array('numfiles', 'grade'));
$subpluginelement = new backup_nested_element('feedback_onenote', null, array('numfiles', 'grade'));

// Connect XML elements into the tree.
$subplugin->add_child($subpluginwrapper);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ protected function define_grade_subplugin_structure() {

$elename = $this->get_namefor('grade');
// We used get_recommended_name() so this works.
$elepath = $this->get_pathfor('/feedback_file');
$elepath = $this->get_pathfor('/feedback_onenote');
$paths[] = new restore_path_element($elename, $elepath);

return $paths;
}

/**
* Processes one feedback_file element
* Processes one feedback_onenote element
* @param mixed $data
*/
public function process_assignfeedback_onenote_grade($data) {
Expand Down

0 comments on commit 020f503

Please sign in to comment.