Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Take out two debugs !!

  • Loading branch information...
commit ce3ec518eaa44c3a143e056874f0e38fb55dc6f7 1 parent 3b16f21
stronk7 authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 mod/quiz/restorelib.php
View
4 mod/quiz/restorelib.php
@@ -122,7 +122,6 @@ function quiz_restore_question_categories($category,$restore) {
//else, everything is done by name (old approach). This mantains backward compatibility.
if ($quiz_cat->stamp) {
- $restored_by = "(STAMP)"; //Debug
//STAMP exists, do things using it (1.1)
//Check for categories and their properties, storing in temporary variables
@@ -188,7 +187,6 @@ function quiz_restore_question_categories($category,$restore) {
}
}
} else {
- $restored_by = "(NAME)"; //Debug
//STAMP doesn't exists, do things by name (pre 1.1)
//and calculate and insert STAMP too !!
@@ -260,7 +258,7 @@ function quiz_restore_question_categories($category,$restore) {
//Do some output
if ($status) {
- echo "<ul><li>".get_string("category")." \"".$quiz_cat->name."\"".$restored_by."<br>";
+ echo "<ul><li>".get_string("category")." \"".$quiz_cat->name."\"<br>";
} else {
//We must never arrive here !!
echo "<ul><li>".get_string("category")." \"".$quiz_cat->name."\" Error!<br>";
Please sign in to comment.
Something went wrong with that request. Please try again.