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
parent
commit
b939383049
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/private/Files/ObjectStore/Swift.php

2
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);
}
/**

Loading…
Cancel
Save