Skip to content
Snippets Groups Projects
Commit 24a5d2dd authored by Ewald's avatar Ewald
Browse files

new deletion routine

parent 0b7d983e
Branches delete_tests
No related tags found
No related merge requests found
......@@ -158,10 +158,7 @@ function pdf_error($test_id,$override){
$contents = file_get_contents($file);
//Array for possible errors and their respective return values
$searchfor = [
["504 Gateway Time-out" , 18],
["FEHLER: [2] imagecreatefrom", 2]
];
$searchfor = [["504 Gateway Time-out" , 18],["FEHLER: [2] imagecreatefrom", 2]];
foreach($searchfor as list ($errtext,$retval)) {
$pattern = preg_quote($errtext, '/'); // escape special characters in the query
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment