Minor - add log

pull/3860/head
Julio Montoya 4 years ago
parent 471996a62e
commit dd0c227a77
  1. 3
      tests/scripts/delete_orphan_questions.php

@ -21,6 +21,7 @@ foreach ($data as $row) {
if (empty($question->exerciseList)) {
$question->delete(1);
}
echo 'Deleting question '.$counter.'/'.$totalQuestions.' - #'.$row['iid'].PHP_EOL;
echo 'Deleting question '.$counter.'/'.$totalQuestions.' - #'.$row['iid'].
' - Course: '.$row['c_id'].' Title: '.$row['question'].PHP_EOL;
$counter++;
}
Loading…
Cancel
Save