summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-05-29 18:04:10 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-02 11:29:28 +0200
commitc572e84ad9d408b1bb4c537748d4c8c25bf19f3f (patch)
tree54b98ff2d2d57f11c6529f4c3e459e38c88d4c21 /lib
parent8889e14c7cb848634895d8bbdedd13194c37301c (diff)
downloadnextcloud-server-c572e84ad9d408b1bb4c537748d4c8c25bf19f3f.tar.gz
nextcloud-server-c572e84ad9d408b1bb4c537748d4c8c25bf19f3f.zip
detect correctly if a share was send successful
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Federation/CloudFederationProviderManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Federation/CloudFederationProviderManager.php b/lib/private/Federation/CloudFederationProviderManager.php
index 77866795c30..9aab1753a47 100644
--- a/lib/private/Federation/CloudFederationProviderManager.php
+++ b/lib/private/Federation/CloudFederationProviderManager.php
@@ -146,7 +146,7 @@ class CloudFederationProviderManager implements ICloudFederationProviderManager
'connect_timeout' => 10,
]);
- if ($response->getStatusCode() === Http::STATUS_OK) {
+ if ($response->getStatusCode() === Http::STATUS_CREATED) {
return true;
}