diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php index 629fb3ba7ff3d04164ef2d6a701a6af504a8ac81..70bc4ed84389940d22e7a313d9170dd920f31a64 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); } /**