mirror of
https://github.com/moodle/moodle.git
synced 2025-04-30 21:50:47 +02:00
Fixed some urls (mod/quiz to question).
This commit is contained in:
parent
5a4bcbc37c
commit
07663430ac
@ -92,17 +92,17 @@
|
||||
|
||||
if (! $qformat->exportpreprocess($category, $course)) { // Do anything before that we need to
|
||||
error("Error occurred during pre-processing!",
|
||||
"$CFG->wwwroot/mod/quiz/export.php?category=$category->id");
|
||||
"$CFG->wwwroot/question/export.php?category=$category->id");
|
||||
}
|
||||
|
||||
if (! $qformat->exportprocess($exportfilename)) { // Process the export data
|
||||
error("Error occurred during processing!",
|
||||
"$CFG->wwwroot/mod/quiz/export.php?category=$category->id");
|
||||
"$CFG->wwwroot/question/export.php?category=$category->id");
|
||||
}
|
||||
|
||||
if (! $qformat->exportpostprocess()) { // In case anything needs to be done after
|
||||
error("Error occurred during post-processing!",
|
||||
"$CFG->wwwroot/mod/quiz/export.php?category=$category->id");
|
||||
"$CFG->wwwroot/question/export.php?category=$category->id");
|
||||
}
|
||||
echo "<hr />";
|
||||
|
||||
|
@ -105,17 +105,17 @@
|
||||
|
||||
if (! $qformat->importpreprocess($category,$course)) { // Do anything before that we need to
|
||||
error("Error occurred during pre-processing!",
|
||||
"$CFG->wwwroot/mod/quiz/import.php?category=$category->id");
|
||||
"$CFG->wwwroot/question/import.php?category=$category->id");
|
||||
}
|
||||
|
||||
if (! $qformat->importprocess($_FILES['newfile']['tmp_name'])) { // Process the uploaded file
|
||||
error("Error occurred during processing!",
|
||||
"$CFG->wwwroot/mod/quiz/import.php?category=$category->id");
|
||||
"$CFG->wwwroot/question/import.php?category=$category->id");
|
||||
}
|
||||
|
||||
if (! $qformat->importpostprocess()) { // In case anything needs to be done after
|
||||
error("Error occurred during post-processing!",
|
||||
"$CFG->wwwroot/mod/quiz/import.php?category=$category->id");
|
||||
"$CFG->wwwroot/question/import.php?category=$category->id");
|
||||
}
|
||||
|
||||
echo "<hr />";
|
||||
|
Loading…
x
Reference in New Issue
Block a user