RemoteFilesystem: avoid warning when setting max file size
parent
2bd1bd4194
commit
d140a842fa
|
@ -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