From 9a83dbec76230eb958468be6438f28f9086c0536 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 8 Aug 2014 16:13:47 +0200 Subject: [PATCH] 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 a28b7b76c95..196bccea0f6 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; } -- 2.39.5