Commit:    20c935bfc6cd6f472c003fd9ebd79acf60324624
Author:    kovacs.ferenc <[email protected]>         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)


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

Reply via email to