Skip to content

Commit

Permalink
Take out two debugs !!
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Aug 28, 2003
1 parent 3b16f21 commit ce3ec51
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mod/quiz/restorelib.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ function quiz_restore_question_categories($category,$restore) {
//else, everything is done by name (old approach). This mantains backward compatibility. //else, everything is done by name (old approach). This mantains backward compatibility.


if ($quiz_cat->stamp) { if ($quiz_cat->stamp) {
$restored_by = "(STAMP)"; //Debug
//STAMP exists, do things using it (1.1) //STAMP exists, do things using it (1.1)


//Check for categories and their properties, storing in temporary variables //Check for categories and their properties, storing in temporary variables
Expand Down Expand Up @@ -188,7 +187,6 @@ function quiz_restore_question_categories($category,$restore) {
} }
} }
} else { } else {
$restored_by = "(NAME)"; //Debug
//STAMP doesn't exists, do things by name (pre 1.1) //STAMP doesn't exists, do things by name (pre 1.1)
//and calculate and insert STAMP too !! //and calculate and insert STAMP too !!


Expand Down Expand Up @@ -260,7 +258,7 @@ function quiz_restore_question_categories($category,$restore) {


//Do some output //Do some output
if ($status) { 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 { } else {
//We must never arrive here !! //We must never arrive here !!
echo "<ul><li>".get_string("category")." \"".$quiz_cat->name."\" Error!<br>"; echo "<ul><li>".get_string("category")." \"".$quiz_cat->name."\" Error!<br>";
Expand Down

0 comments on commit ce3ec51

Please sign in to comment.