com web/php: Revert "Temporary hacky fix for cache issue and old 8.0.2 tarballs": include/layout.inc
| From: | Sara Golemon | Date: | Fri, 05 Feb 2021 15:36:57 +0000 |
| Subject: | com web/php: Revert "Temporary hacky fix for cache issue and old 8.0.2 tarballs": include/layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-29097@lists.php.net to get a copy of this message | ||
Commit: 8249f7f58fe0c27dd9f2ec4274ec344463a84508
Author: Sara Golemon <pollita@php.net> Fri, 5 Feb 2021 15:36:57 +0000
Parents: 2e0a93ef3f8cc0806553bd5ec1dcab467cf46ad9
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=8249f7f58fe0c27dd9f2ec4274ec344463a84508
Log:
Revert "Temporary hacky fix for cache issue and old 8.0.2 tarballs"
This reverts commit 2e0a93ef3f8cc0806553bd5ec1dcab467cf46ad9.
The caching issue has expired and we now resume our regularly scheduled programming.
Changed paths:
M include/layout..inc
Diff:
diff --git a/include/layout.inc b/include/layout.inc
index 7887a56d8..e8e741c3b 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -196,12 +196,7 @@ function download_link($file, $title, $showsize = TRUE, $mirror = '')
$download_link = "/distributions/" . $file;
// Print out the download link
- if (strpos($download_link, 'php-8.0.2.tar') !== false) {
- // Temporary hacky fix to caching issue. :(
- print_link("{$download_link}?a=1", $title);
- } else {
- print_link($download_link, $title);
- }
+ print_link($download_link, $title);
// Size display is required
if ($showsize) {