diff --git a/lib/private/helper.php b/lib/private/helper.php index 206c20d916..b3e2b1ade1 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -418,6 +418,7 @@ class OC_Helper { unlink($fileInfo->getRealPath()); } } + rmdir($dir); } elseif (file_exists($dir)) { unlink($dir); }