Not supported by PHP 5.6

This commit is contained in:
jelhan 2016-05-18 16:15:28 -07:00
parent 9603444daa
commit ce47b2342f

View file

@ -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);