aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 206c20d9169..b3e2b1ade10 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);
}