Not supported by PHP 5.6
This commit is contained in:
parent
9603444daa
commit
ce47b2342f
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ class CleanUpExtension extends \Codeception\Extension
|
|||
}
|
||||
|
||||
if(is_dir($dir . '/' . $entry)) {
|
||||
$method = __METHOD__;
|
||||
$method($dir .'/' . $entry);
|
||||
self::deleteDirRecursively($dir .'/' . $entry);
|
||||
}
|
||||
else {
|
||||
unlink($dir . '/' . $entry);
|
||||
|
|
Loading…
Reference in a new issue