[Pkg-owncloud-commits] [owncloud] 17/67: dir itself has to be removed as well

David Prévot taffit at moszumanska.debian.org
Fri Jun 27 23:58:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit ed31f30afd481014612fa88be17e7450b20e562b
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Mon Jun 23 14:40:10 2014 +0200

    dir itself has to be removed as well
---
 lib/private/helper.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/helper.php b/lib/private/helper.php
index 206c20d..b3e2b1a 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);
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list