diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-08-08 16:13:47 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-08-11 12:03:08 +0200 |
commit | 5bbecdb9eeae1981cc64fe90f54829345507b92b (patch) | |
tree | e121ae2879f09208b3f0d1b6ba4079d3adcea3bf /apps/files/ajax | |
parent | b3cff4beb6f3628fd914650b97f6c13285615b93 (diff) | |
download | nextcloud-server-5bbecdb9eeae1981cc64fe90f54829345507b92b.tar.gz nextcloud-server-5bbecdb9eeae1981cc64fe90f54829345507b92b.zip |
no special action for folder named 'Shared' needed
Diffstat (limited to 'apps/files/ajax')
-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; } |