Skip to content

Commit

Permalink
Scripts: Add memory freeing in script to remove test duplicates - ref…
Browse files Browse the repository at this point in the history
…s BT#19212
  • Loading branch information
ywarnier committed May 13, 2022
1 parent ce585d6 commit e3e7a39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/scripts/delete_duplicate_tests.php
Expand Up @@ -261,6 +261,7 @@
}
$deletedTestsCount++;
}
unset($exercise);
} else {
//echo "Found test ".$test['iid']." included in a learning path in ".$course['code'].". Not deleting.".PHP_EOL;
$sql2b = "SELECT question_id FROM c_quiz_rel_question WHERE c_id = ".$course['id']." AND exercice_id = ".$test['iid'];
Expand Down

0 comments on commit e3e7a39

Please sign in to comment.