[Pkg-owncloud-commits] [owncloud] 70/121: no special action for folder named 'Shared' needed

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 16:44:35 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 9a83dbec76230eb958468be6438f28f9086c0536
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Fri Aug 8 16:13:47 2014 +0200

    no special action for folder named 'Shared' needed
---
 apps/files/ajax/delete.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/ajax/delete.php b/apps/files/ajax/delete.php
index a28b7b7..196bcce 100644
--- a/apps/files/ajax/delete.php
+++ b/apps/files/ajax/delete.php
@@ -26,7 +26,7 @@ $success = true;
 
 //Now delete
 foreach ($files as $file) {
-	if (($dir === '' && $file === 'Shared') || !\OC\Files\Filesystem::unlink($dir . '/' . $file)) {
+	if (!\OC\Files\Filesystem::unlink($dir . '/' . $file)) {
 		$filesWithError .= $file . "\n";
 		$success = false;
 	}

-- 
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