summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-30 14:41:50 +0200
committerGitHub <noreply@github.com>2020-04-30 14:41:50 +0200
commitfa914f2e249b155a61078f6a8d1b352b9afec875 (patch)
tree78420ea2aae2cead266a07a2735579d405d312f9
parent0f9b88c5a9a70cc36d0b1f345882301441aed02a (diff)
parentf6b435d0d9643147a3f3f57f9ffe5711d269e20a (diff)
downloadnextcloud-server-fa914f2e249b155a61078f6a8d1b352b9afec875.tar.gz
nextcloud-server-fa914f2e249b155a61078f6a8d1b352b9afec875.zip
Merge pull request #20742 from nextcloud/fix/cs
Run the cs fixer for green ci
-rw-r--r--lib/private/Files/ObjectStore/Swift.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php
index e0d819f8a2a..1ce4312af2b 100644
--- a/lib/private/Files/ObjectStore/Swift.php
+++ b/lib/private/Files/ObjectStore/Swift.php
@@ -26,17 +26,12 @@
namespace OC\Files\ObjectStore;
use GuzzleHttp\Client;
-use GuzzleHttp\Exception\ClientException;
-use GuzzleHttp\Exception\ConnectException;
-use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Exception\BadResponseException;
-use GuzzleHttp\HandlerStack;
use function GuzzleHttp\Psr7\stream_for;
use Icewind\Streams\RetryWrapper;
use OCP\Files\NotFoundException;
use OCP\Files\ObjectStore\IObjectStore;
use OCP\Files\StorageAuthException;
-use OpenStack\Common\Error\BadResponseError;
class Swift implements IObjectStore {
/**
@@ -112,7 +107,6 @@ class Swift implements IObjectStore {
],
]
);
-
} catch (BadResponseException $e) {
if ($e->getResponse() && $e->getResponse()->getStatusCode() === 404) {
throw new NotFoundException("object $urn not found in object store");