Commit:    5710f3463a723a7c4ed303d279f8a8af22ffd354
Author:    Christoph M. Becker <[email protected]>         Sat, 6 Jul 2019 
10:02:03 +0200
Parents:   b1db5eb6da8f7a3b6616c126f194a1833f2683eb
Branches:  master

Link:       
http://git.php.net/?p=web/windows.git;a=commitdiff;h=5710f3463a723a7c4ed303d279f8a8af22ffd354

Log:
Remove special 5.2 support

Changed paths:
  M  docroot/listing.php
  M  include/listing.php


Diff:
diff --git a/docroot/listing.php b/docroot/listing.php
index 1f92470..554b033 100644
--- a/docroot/listing.php
+++ b/docroot/listing.php
@@ -80,7 +80,6 @@ $labels = array(
 );
 
 if ($mode == 'snapshots') {
-       unset($minor_order['5.2']);
        unset($major_order[1]);
 }
 
diff --git a/include/listing.php b/include/listing.php
index 0e0888a..7d64f4f 100644
--- a/include/listing.php
+++ b/include/listing.php
@@ -146,14 +146,10 @@ function generate_listing($path, $nmode) {
                        $configure  = 'configure-' . $elms['version_short'] . 
'-' . $elms['vc'] . '-' . $elms['arch'] . '-' . ($elms['nts'] ? $elms['nts'] . 
'-' : '') .  $snap_time_suffix . '.log';
                        $compile    = 'compile-' . $elms['version_short'] . '-' 
. $elms['vc'] . '-' . $elms['arch'] . '-' . ($elms['nts'] ? $elms['nts'] . '-' 
: '') . $snap_time_suffix . '.log';
                        $buildconf  = 'buildconf-'. $elms['version_short'] . 
'-' . $elms['vc'] . '-' . $elms['arch'] . '-' . ($elms['nts'] ? $elms['nts'] . 
'-' : '') . $snap_time_suffix . '.log'; 
-               } elseif ($version_short != '5.2') {
+               } else {
                        $debug_pack = 'php-debug-pack-' . $elms['version'] . 
($elms['nts'] ? '-' . $elms['nts'] : '') . '-Win32-' . $elms['vc'] . '-' . 
$elms['arch'] . ($elms['ts'] ? '-' . $elms['ts'] : '') . '.zip';
                        $installer =  'php-' . $elms['version'] . ($elms['nts'] 
? '-' . $elms['nts'] : '') . '-Win32-' . $elms['vc'] . '-' . $elms['arch'] . 
($elms['ts'] ? '-' . $elms['ts'] : '') . '.msi';
                        $source = 'php-' . $elms['version'] . '-src.zip';
-               } else {
-                       $debug_pack = 'php-debug-pack-' . $elms['version'] . 
($elms['nts'] ? '-' . $elms['nts'] : '') . '-Win32-' . $elms['vc'] . '-' . 
$elms['arch'] . '.zip';
-                       $installer =  'php-' . $elms['version'] . ($elms['nts'] 
? '-' . $elms['nts'] : '') . '-Win32-' .   $elms['vc'] . '-' . $elms['arch'] . 
'.msi';
-                       $source = 'php-' . $elms['version'] . '-src.zip';
                }
                if (file_exists($source)) {
                        $releases[$version_short]['source'] = array(
@@ -197,10 +193,6 @@ function generate_listing($path, $nmode) {
                        if ($configure) {
                                $releases[$version_short][$key]['configure'] = 
$configure;
                        }
-               } else {
-                       if ($version_short == '5.2' && strpos($key, 'nts') !== 
false) {
-                               
$releases[$version_short][$key]['webpi_installer'] = 
'http://www.microsoft.com/web/gallery/install.aspx?appsxml=www.microsoft.com%2Fweb%2Fwebpi%2F2.0%2FWebProductList.xml%3Bwww.microsoft.com%2Fweb%2Fwebpi%2F2.0%2FWebProductList.xml%3Bwww.microsoft.com%2Fweb%2Fwebpi%2F2.0%2FWebProductList.xml&appid=201%3B202%3B203';
-                       }
                }
        }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to