//Saving conversion id variables into backup_tables
if ($restore->restoreto ==1) {
echo "<li>".get_string("creatingnewcourse");
- $status = restore_create_new_course($restore,&$course_header);
+ $status = restore_create_new_course($restore,$course_header);
//Print course fullname and shortname and category
if ($status) {
echo "<ul>";
$moodle_parser = new MoodleParser();
$moodle_parser->todo = $todo;
$moodle_parser->preferences = $preferences;
- xml_set_object($xml_parser,&$moodle_parser);
+ xml_set_object($xml_parser,$moodle_parser);
//Depending of the todo we use some element_handler or another
if ($todo == "INFO") {
//Define handlers to that zone