1
0
Fork 0

RemoteFilesystem: avoid warning when setting max file size

pull/9146/head
Stephan 2020-08-24 13:53:07 +01:00
parent 2bd1bd4194
commit d140a842fa
1 changed files with 1 additions and 0 deletions

View File

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