diff options
author | Joas Schilling <coding@schilljs.com> | 2020-08-20 14:08:18 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 16:35:38 +0200 |
commit | b09620651cbb72e5a623d47ed409e949b114c7cf (patch) | |
tree | 7ebae0d2f95477044de84c666f07b341da7b5efd /apps/files_sharing/templates | |
parent | 420a3762cba2f8ef300f95f7c9de188bcbef65bb (diff) | |
download | nextcloud-server-b09620651cbb72e5a623d47ed409e949b114c7cf.tar.gz nextcloud-server-b09620651cbb72e5a623d47ed409e949b114c7cf.zip |
Don't use deprecated getIniWrapper() anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/public.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 82544385dec..ffc449f9e63 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -23,8 +23,8 @@ <input type="hidden" name="hideDownload" value="<?php p($_['hideDownload'] ? 'true' : 'false'); ?>" id="hideDownload"> <input type="hidden" id="disclaimerText" value="<?php p($_['disclaimer']) ?>"> <?php -$upload_max_filesize = OC::$server->getIniWrapper()->getBytes('upload_max_filesize'); -$post_max_size = OC::$server->getIniWrapper()->getBytes('post_max_size'); +$upload_max_filesize = OC::$server->get(\bantu\IniGetWrapper\IniGetWrapper::class)->getBytes('upload_max_filesize'); +$post_max_size = OC::$server->get(\bantu\IniGetWrapper\IniGetWrapper::class)->getBytes('post_max_size'); $maxUploadFilesize = min($upload_max_filesize, $post_max_size); ?> <input type="hidden" name="maxFilesizeUpload" value="<?php p($maxUploadFilesize); ?>" id="maxFilesizeUpload"> |