mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Variables passed by reference warning is out !!
This commit is contained in:
parent
4712035bec
commit
2b96840769
@ -54,7 +54,7 @@
|
||||
//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>";
|
||||
|
@ -1532,7 +1532,7 @@
|
||||
$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
|
||||
|
Loading…
x
Reference in New Issue
Block a user