Merge pull request #9146 from glaubinix/f/remotefilesystem-max-file-size

RemoteFilesystem: avoid warning when setting max file size
main
Jordi Boggiano 4 years ago committed by GitHub
commit 414c37a30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -248,6 +248,7 @@ class RemoteFilesystem
$maxFileSize = null;
if (isset($options['max_file_size'])) {
$maxFileSize = $options['max_file_size'];
unset($options['max_file_size']);
}
$ctx = StreamContextFactory::getContext($fileUrl, $options, array('notification' => array($this, 'callbackGet')));

Loading…
Cancel
Save