Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-02-07 19:10:59 +0300
committerRobin Appelman <robin@icewind.nl>2018-02-07 19:10:59 +0300
commitfd09c06eb4d0ef2e01e69e0f6bb4f925fcebdf42 (patch)
tree856a035b49eb4b8c762dc27412a562f69bc435fc /lib
parent8281378e5b6d06670b44bd4874eb000b75415604 (diff)
actually return stream from swift
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-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);
}
/**