From fd09c06eb4d0ef2e01e69e0f6bb4f925fcebdf42 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 7 Feb 2018 17:10:59 +0100 Subject: [PATCH] actually return stream from swift Signed-off-by: Robin Appelman --- lib/private/Files/ObjectStore/Swift.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php index 629fb3ba7f..70bc4ed843 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); } /**