Skip to content

Commit 7e9b816

Browse files
committed
Fix silly grunt error objecting to multiple blank lines and fix warning message
that cookie file does not exist when attempting to delete it.
1 parent 260736a commit 7e9b816

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

classes/jobesandbox.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function execute($sourcecode, $language, $input, $files = null, $params =
233233
}
234234

235235
// Delete the cookie file.
236-
unlink($cookiefile);
236+
@unlink($cookiefile);
237237

238238
$runresult = [];
239239
$runresult['sandboxinfo'] = [

tests/behat/ace_scratchpad_compatibility.feature

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Feature: Ace UI convert to Scratchpad UI questions with one click
2323
| questioncategory | qtype | name |
2424
| Test questions | coderunner | Square function |
2525

26-
2726
When I am on the "Square function" "core_question > edit" page logged in as teacher1
2827
And I set the following fields to these values:
2928
| id_customise | 1 |

0 commit comments

Comments
 (0)