summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-02-07 17:10:59 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-08 08:10:08 +0100
commit6296c498b21db33399652cd5f792ee3380a5ee83 (patch)
treee4d883d4777fe8cf3590218215d8071706006da2 /lib
parent5e3cb24efab0a160a9bfe46136e02ad2a683abdd (diff)
downloadnextcloud-server-6296c498b21db33399652cd5f792ee3380a5ee83.tar.gz
nextcloud-server-6296c498b21db33399652cd5f792ee3380a5ee83.zip
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);
}
/**