From 0f7c8e4fefd32c2d93b9df43f8f5e32d9942de8f Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sat, 23 Feb 2013 12:59:44 +0000 Subject: Remove bugzilla query for number of updates to test --- themes/mageia/page_header.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/themes/mageia/page_header.php b/themes/mageia/page_header.php index 9a43031..46d4aec 100644 --- a/themes/mageia/page_header.php +++ b/themes/mageia/page_header.php @@ -41,18 +41,12 @@ if (!isset($_GET['package'])) { 'https://wiki.mageia.org/en/Importing_packages', 'YES you can help!', 'pick one'); - preg_match_all('/(\d+)/', file_get_contents("https://bugs.mageia.org/buglist.cgi?quicksearch=%40qa-bugs+-kw%3Avali"), $matches); - $qa_bugs = $matches[1][0]; - if ($qa_bugs > 0) { - $figures_list[] = sprintf('%d update%s to validate - %s', - $qa_bugs, + $figures_list[] = sprintf('Some updates to validate + %s', 'http://mageia.madb.org/tools/updates', - plural($qa_bugs), 'https://wiki.mageia.org/en/QA_process_for_validating_updates', 'YES you can help!', 'see how' - ); - } + ); $html_figures = null; if (count($figures_list) > 0) { -- cgit v1.2.1