getAppValue('files', 'max_chunk_size'); if ($maxChunkSize === '') { // Skip if no value was configured before return; } ChunkedUploadConfig::setMaxChunkSize((int)$maxChunkSize); Server::get(IConfig::class)->deleteAppValue('files', 'max_chunk_size'); } }