summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-02-23 12:59:44 +0000
committerNicolas Vigier <boklm@mageia.org>2013-02-23 12:59:44 +0000
commit0f7c8e4fefd32c2d93b9df43f8f5e32d9942de8f (patch)
tree15a7f92ff3b139817584a4923cf1d914475f6739
parentc4e58a044c9e1ba9e7d861972cdedffd7ce68742 (diff)
downloadpkgsubmit-0f7c8e4fefd32c2d93b9df43f8f5e32d9942de8f.tar
pkgsubmit-0f7c8e4fefd32c2d93b9df43f8f5e32d9942de8f.tar.gz
pkgsubmit-0f7c8e4fefd32c2d93b9df43f8f5e32d9942de8f.tar.bz2
pkgsubmit-0f7c8e4fefd32c2d93b9df43f8f5e32d9942de8f.tar.xz
pkgsubmit-0f7c8e4fefd32c2d93b9df43f8f5e32d9942de8f.zip
Remove bugzilla query for number of updates to test
-rw-r--r--themes/mageia/page_header.php12
1 files 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('/<span class="bz_result_count">(\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('<strong>%d</strong> <a rel="nofollow" href="%s">update%s to validate</a>
- <a href="%s" class="action-btn" title="%s">%s</a>',
- $qa_bugs,
+ $figures_list[] = sprintf('<a rel="nofollow" href="%s">Some updates to validate</a>
+ <a href="%s" class="action-btn" title="%s">%s</a>',
'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) {