From ff31168b1166a612cd704bc24c8f77dbdc679241 Mon Sep 17 00:00:00 2001 From: filip Date: Tue, 13 Apr 2021 15:43:12 +0200 Subject: remove unneeded deprecated 'optional parameter before required' in php8 --- en/downloads/prerelease/download_index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'en/downloads') diff --git a/en/downloads/prerelease/download_index.php b/en/downloads/prerelease/download_index.php index 263e219f8..526fa558e 100644 --- a/en/downloads/prerelease/download_index.php +++ b/en/downloads/prerelease/download_index.php @@ -21,7 +21,7 @@ function get_mageia($name, $version, $release) return implode('-', array($name, $re)); } -function get_mageia_image_file_name($name, $version, $release, $variant = null, $arch, $medium, $ext) +function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext) { $va = empty($variant) ? $arch : $variant . '-' . $arch; $re = empty($release) ? $va : $release . '-' . $va; @@ -29,7 +29,7 @@ function get_mageia_image_file_name($name, $version, $release, $variant = null, return implode('-', array($name, $version, $re, $medium)) . $ext; } -function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $medium, $torrent = false, $torrentavailable = true) +function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true) { switch ($arch) { case "i586": -- cgit v1.2.1