summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-06-23 14:40:10 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-06-23 14:40:55 +0200
commited31f30afd481014612fa88be17e7450b20e562b (patch)
tree2c5e72fa133a5484ea76880ebf4ab3941cdcbf2c /lib
parentf83821c388120eda258a968cc6be3e1a875ce34c (diff)
downloadnextcloud-server-ed31f30afd481014612fa88be17e7450b20e562b.tar.gz
nextcloud-server-ed31f30afd481014612fa88be17e7450b20e562b.zip
dir itself has to be removed as well
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);
}