Merge pull request #8250 from nextcloud/8233_13

[stable13] actually return stream from swift
This commit is contained in:
Roeland Jago Douma 2018-02-08 09:07:33 +01:00 committed by GitHub
commit 202dd62951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 // 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); stream_context_set_option($stream, 'swift', 'content', $objectContent);
RetryWrapper::wrap($stream); return RetryWrapper::wrap($stream);
} }
/** /**