mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 06:55:25 +02:00
[ticket/11103] Remove error suppression in test case helpers
PHPBB3-11103
This commit is contained in:
parent
05e74b82ac
commit
03e348cf58
@ -185,11 +185,11 @@ class phpbb_test_case_helpers
|
||||
{
|
||||
if (is_dir($file))
|
||||
{
|
||||
@rmdir($file);
|
||||
rmdir($file);
|
||||
}
|
||||
else
|
||||
{
|
||||
@unlink($file);
|
||||
unlink($file);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -215,11 +215,11 @@ class phpbb_test_case_helpers
|
||||
{
|
||||
$this->empty_dir($path . $file);
|
||||
|
||||
@rmdir($path . $file);
|
||||
rmdir($path . $file);
|
||||
}
|
||||
else
|
||||
{
|
||||
@unlink($path . $file);
|
||||
unlink($path . $file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user