remove legacy media.upload_limit references

This commit is contained in:
Andy Miller
2019-03-12 06:28:52 -06:00
parent 0a31630030
commit c0babd988f
6 changed files with 5 additions and 5 deletions

View File

@@ -247,7 +247,7 @@ class AdminBaseController
'random_name' => false,
'accept' => ['image/*'],
'limit' => 10,
'filesize' => $config->get('system.media.upload_limit', 5242880) // 5MB
'filesize' => Utils::getUploadLimit()
], (array)$settings, ['name' => $this->post['name']]);
$upload = $this->normalizeFiles($_FILES['data'], $settings->name);