com web/people: also list pear karma: include/karma.php

From: Date: Fri, 25 Jul 2014 09:58:21 +0000
Subject: com web/people: also list pear karma: include/karma.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19535@lists.php.net to get a copy of this message
Commit: 20c935bfc6cd6f472c003fd9ebd79acf60324624 Author: kovacs.ferenc <kovacs.ferenc@ustream.tv> Fri, 25 Jul 2014 11:58:21 +0200 Parents: a5d1d988e2eeb43aec6a35634bf4303484355b6d Branches: master Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=20c935bfc6cd6f472c003fd9ebd79acf60324624 Log: also list pear karma Changed paths: M include/karma.php Diff: diff --git a/include/karma.php b/include/karma.php index d9d7cc7..09a0fe2 100644 --- a/include/karma.php +++ b/include/karma.php @@ -19,8 +19,11 @@ function fetchKarma() { $ctx = stream_context_create(array("http" => array("ignore_errors" => true))); $content = cached("https://svn.php.net/repository/SVNROOT/global_avail", false, $ctx); - $karma = parseKarma(explode("\n", $content)); - return $karma; + $phpKarma = parseKarma(explode("\n", $content)); + $ctx = stream_context_create(array("http" => array("ignore_errors" => true))); + $content = cached("https://svn.php.net/repository/SVNROOT/pear_avail", false, $ctx); + $pearKarma = parseKarma(explode("\n", $content)); + return array_merge($phpKarma, $pearKarma); } function parseKarma(array $avail_lines)

« previous php.webmaster (#19535) next »