Browse Source
Merge pull request #8233 from nextcloud/swift-return-stream
actually return stream from swift
pull/8252/head
Roeland Jago Douma
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|