summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-02-08 08:15:35 +0100
committerGitHub <noreply@github.com>2018-02-08 08:15:35 +0100
commitb9393830495d4207d49169b7f2b2cee416f0f80c (patch)
tree9560faccaeb3665b9e5dfb104021448ae5aa24f1
parent71382daf67aac6075908ef5f4e2506cfdb5bdbc9 (diff)
parentfd09c06eb4d0ef2e01e69e0f6bb4f925fcebdf42 (diff)
downloadnextcloud-server-b9393830495d4207d49169b7f2b2cee416f0f80c.tar.gz
nextcloud-server-b9393830495d4207d49169b7f2b2cee416f0f80c.zip
Merge pull request #8233 from nextcloud/swift-return-stream
actually return stream from swift
-rw-r--r--lib/private/Files/ObjectStore/Swift.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php
index 629fb3ba7ff..70bc4ed8438 100644
--- a/lib/private/Files/ObjectStore/Swift.php
+++ b/lib/private/Files/ObjectStore/Swift.php
@@ -265,7 +265,7 @@ class Swift implements IObjectStore {
// save the object content in the context of the stream to prevent it being gc'd until the stream is closed
stream_context_set_option($stream, 'swift', 'content', $objectContent);
- RetryWrapper::wrap($stream);
+ return RetryWrapper::wrap($stream);
}
/**