Commit: fbe0db94e18cba63c885baaaa7feee69e58dad4b Author: Anatol Belski <[email protected]> Fri, 23 Sep 2016 22:43:54 +0200 Parents: d7881b933161d5e0d229dcfa79d2e6bc4f3547ef Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=fbe0db94e18cba63c885baaaa7feee69e58dad4b Log: remove dead code Changed paths: M script/generate_snap_page.php Diff: diff --git a/script/generate_snap_page.php b/script/generate_snap_page.php index e2884f8..0f0951a 100644 --- a/script/generate_snap_page.php +++ b/script/generate_snap_page.php @@ -44,21 +44,6 @@ function parse_meta($path) return FALSE; } -$path = "C:/domains/windows.php.net/docroot/downloads/snaps/php-5.6"; -$files = glob($path . "/*", GLOB_ONLYDIR); -usort($files, function($a, $b) { - return filemtime($a) < filemtime($b); -}); - -$min_time = strtotime("- 1 week"); -foreach($files as $file){ - if (filemtime($file) >= $min_time) { - echo 'revision: ' . basename($file) . " \t " . date('F d Y, H:i:s', filemtime($file)) . "\n"; - parse_meta($file); - break; - } -} - $base_dir = SNAPS_DIR; $data_path = DATA_DIR . '/status.json'; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
