summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-25 23:01:03 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-25 23:01:03 +0100
commit16a558871cf371aec59dfb2ec7b672f0a4ab166f (patch)
tree564754363d080c57dd115aeab26c5d3cda4ea13b /apps/files_external/lib/Lib
parentb9bbb894f8b01e000bb5e3a8a82db7bebad3ea00 (diff)
downloadnextcloud-server-16a558871cf371aec59dfb2ec7b672f0a4ab166f.tar.gz
nextcloud-server-16a558871cf371aec59dfb2ec7b672f0a4ab166f.zip
Use proper code flow instead of not needed else branch
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external/lib/Lib')
-rw-r--r--apps/files_external/lib/Lib/Storage/AmazonS3.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php
index 7c536443a0e..03a24e89765 100644
--- a/apps/files_external/lib/Lib/Storage/AmazonS3.php
+++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php
@@ -232,7 +232,6 @@ class AmazonS3 extends \OC\Files\Storage\Common {
} catch (\Exception $e) {
return $this->batchDelete();
}
- return false;
}
private function batchDelete($path = null) {