diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-08-08 16:13:47 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-08-14 11:44:59 +0200 |
commit | 9a83dbec76230eb958468be6438f28f9086c0536 (patch) | |
tree | 50e0d10c1c0e2dd305a14f6671af982e757b7fcf /apps/files | |
parent | bc1848933d2fcd23a10ae5af0058ad86aedcf035 (diff) | |
download | nextcloud-server-9a83dbec76230eb958468be6438f28f9086c0536.tar.gz nextcloud-server-9a83dbec76230eb958468be6438f28f9086c0536.zip |
no special action for folder named 'Shared' needed
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/ajax/delete.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |