[web-php] master: Fix: Remove unused parameter
| From: | Andreas Möller via GitHub | Date: | Tue, 28 Jun 2022 12:33:55 +0000 |
| Subject: | [web-php] master: Fix: Remove unused parameter | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30156@lists.php.net to get a copy of this message | ||
Author: Andreas Möller (localheinz)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2022-06-28T14:27:56+02:00
Commit: https://github.com/php/web-php/commit/1c2bd8ad42f1c83581b660747124d2db2b92c5d2
Raw diff: https://github.com/php/web-php/commit/1c2bd8ad42f1c83581b660747124d2db2b92c5d2.diff
Fix: Remove unused parameter
Closes GH-572.
Changed paths:
M include/layout.inc
Diff:
diff --git a/include/layout.inc b/include/layout.inc
index aca613684..a6c21060b 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -192,7 +192,7 @@ function print_popup_link($url, $linktext=false, $windowprops="",
$target=false,
}
// Print a link for a downloadable file (including filesize)
-function download_link($file, $title, $showsize = TRUE, $mirror = '')
+function download_link($file, $title, $showsize = TRUE)
{
$download_link = "/distributions/" . $file;