mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
One minor problem restoring categories in XHTML solved
This commit is contained in:
parent
e09087bc76
commit
0183a6c48e
@ -219,10 +219,12 @@
|
||||
|
||||
//Now create categories and questions as needed (STEP1)
|
||||
if ($status and ($restore->mods['quiz']->restore)) {
|
||||
echo "</li><li>".get_string("creatingcategoriesandquestions")."</li>";
|
||||
echo "</li><li>".get_string("creatingcategoriesandquestions");
|
||||
echo "<ul>";
|
||||
if (!$status = restore_create_questions($restore,$xml_file)) {
|
||||
notify("Could not restore categories and questions!");
|
||||
}
|
||||
echo "</ul></li>";
|
||||
}
|
||||
|
||||
//Now create user_files as needed
|
||||
|
@ -269,10 +269,10 @@
|
||||
|
||||
//Do some output
|
||||
if ($status) {
|
||||
echo "<li>".get_string("category")." \"".$quiz_cat->name."\"</li>";
|
||||
echo "<li>".get_string("category")." \"".$quiz_cat->name."\"<br />";
|
||||
} else {
|
||||
//We must never arrive here !!
|
||||
echo "<li>".get_string("category")." \"".$quiz_cat->name."\" Error!</li>";
|
||||
echo "<li>".get_string("category")." \"".$quiz_cat->name."\" Error!<br />";
|
||||
}
|
||||
backup_flush(300);
|
||||
|
||||
@ -286,6 +286,7 @@
|
||||
} else {
|
||||
$status = false;
|
||||
}
|
||||
echo '</li>';
|
||||
}
|
||||
|
||||
return $status;
|
||||
|
Loading…
x
Reference in New Issue
Block a user