]> source.dussan.org Git - nextcloud-server.git/commitdiff
dir itself has to be removed as well
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 23 Jun 2014 12:40:10 +0000 (14:40 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 23 Jun 2014 12:40:55 +0000 (14:40 +0200)
lib/private/helper.php

index 206c20d9169ed96fe01fdb8628f448cfe68275d8..b3e2b1ade103d26773e79218e62d7456c527e752 100644 (file)
@@ -418,6 +418,7 @@ class OC_Helper {
                                        unlink($fileInfo->getRealPath());
                                }
                        }
+                       rmdir($dir);
                } elseif (file_exists($dir)) {
                        unlink($dir);
                }