summaryrefslogtreecommitdiff
path: root/tests/PHPUnit_Smarty.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit_Smarty.php')
-rw-r--r--tests/PHPUnit_Smarty.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/PHPUnit_Smarty.php b/tests/PHPUnit_Smarty.php
index 029c8f90..39663c1f 100644
--- a/tests/PHPUnit_Smarty.php
+++ b/tests/PHPUnit_Smarty.php
@@ -291,10 +291,8 @@ KEY `name` (`name`)
}
// directory ?
if ($file->isDir()) {
- if (!$ri->isDot()) {
- // delete folder if empty
- @rmdir($file->getPathname());
- }
+ // delete folder if empty
+ @rmdir($file->getPathname());
} else {
unlink($file->getPathname());
}