[ticket/11103] Suppress errors from unlink/rmdir in the test case helpers

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-10-05 15:18:26 -05:00
parent a57f207d68
commit 6ca2256f77

View file

@ -185,11 +185,11 @@ class phpbb_test_case_helpers
{ {
if (is_dir($file)) if (is_dir($file))
{ {
rmdir($file); @rmdir($file);
} }
else else
{ {
unlink($file); @unlink($file);
} }
} }
} }
@ -215,11 +215,11 @@ class phpbb_test_case_helpers
{ {
$this->empty_dir($path . $file); $this->empty_dir($path . $file);
rmdir($path . $file); @rmdir($path . $file);
} }
else else
{ {
unlink($path . $file); @unlink($path . $file);
} }
} }
} }