diff options
author | Robin Appelman <robin@icewind.nl> | 2018-02-07 17:10:59 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-02-07 17:10:59 +0100 |
commit | fd09c06eb4d0ef2e01e69e0f6bb4f925fcebdf42 (patch) | |
tree | 856a035b49eb4b8c762dc27412a562f69bc435fc | |
parent | 8281378e5b6d06670b44bd4874eb000b75415604 (diff) | |
download | nextcloud-server-fd09c06eb4d0ef2e01e69e0f6bb4f925fcebdf42.tar.gz nextcloud-server-fd09c06eb4d0ef2e01e69e0f6bb4f925fcebdf42.zip |
actually return stream from swift
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | lib/private/Files/ObjectStore/Swift.php | 2 |
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); } /** |