1
0
Fork 0

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

RemoteFilesystem: avoid warning when setting max file size
pull/9152/head
Jordi Boggiano 2020-08-25 08:55:12 +02:00 committed by GitHub
commit 414c37a30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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')));