Merge pull request #9146 from glaubinix/f/remotefilesystem-max-file-size
RemoteFilesystem: avoid warning when setting max file sizepull/9152/head
commit
414c37a30c
|
@ -248,6 +248,7 @@ class RemoteFilesystem
|
||||||
$maxFileSize = null;
|
$maxFileSize = null;
|
||||||
if (isset($options['max_file_size'])) {
|
if (isset($options['max_file_size'])) {
|
||||||
$maxFileSize = $options['max_file_size'];
|
$maxFileSize = $options['max_file_size'];
|
||||||
|
unset($options['max_file_size']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$ctx = StreamContextFactory::getContext($fileUrl, $options, array('notification' => array($this, 'callbackGet')));
|
$ctx = StreamContextFactory::getContext($fileUrl, $options, array('notification' => array($this, 'callbackGet')));
|
||||||
|
|
Loading…
Reference in New Issue