dir itself has to be removed as well

This commit is contained in:
Thomas Müller 2014-06-23 14:40:10 +02:00
parent f83821c388
commit ed31f30afd
1 changed files with 1 additions and 0 deletions

View File

@ -418,6 +418,7 @@ class OC_Helper {
unlink($fileInfo->getRealPath());
}
}
rmdir($dir);
} elseif (file_exists($dir)) {
unlink($dir);
}