Fixed some urls (mod/quiz to question).

This commit is contained in:
thepurpleblob 2006-03-08 13:58:55 +00:00
parent 5a4bcbc37c
commit 07663430ac
2 changed files with 6 additions and 6 deletions

View File

@ -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 />";

View File

@ -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 />";