mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Some work on question restore code, not complete
This commit is contained in:
parent
d348b6f2b0
commit
12fcd27da6
5 changed files with 154 additions and 3148 deletions
|
@ -4822,8 +4822,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
// The following will be enabled once the quiz and question restore code are separated
|
||||
//include_once("$CFG->dirroot/question/restorelib.php");
|
||||
|
||||
if (!defined('RESTORE_SILENTLY')) {
|
||||
//Start the main table
|
||||
|
@ -5041,8 +5039,9 @@
|
|||
}
|
||||
|
||||
|
||||
//Now create categories and questions as needed (STEP1)
|
||||
//Now create categories and questions as needed
|
||||
if ($status and ($restore->mods['quiz']->restore)) {
|
||||
include_once("$CFG->dirroot/question/restorelib.php");
|
||||
if (!defined('RESTORE_SILENTLY')) {
|
||||
echo "</li><li>".get_string("creatingcategoriesandquestions");
|
||||
echo "<ul>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue