From d84a48e948b80ecca27e6b8d9e301a1489f33647 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 15 May 2014 09:28:35 +0200 Subject: pkgdb2 compatibility, ++, bump fedpkg cli version to 0.3.0-dev --- pkgdb-ajax.php | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'pkgdb-ajax.php') diff --git a/pkgdb-ajax.php b/pkgdb-ajax.php index 65c5724..da0ae1a 100644 --- a/pkgdb-ajax.php +++ b/pkgdb-ajax.php @@ -7,7 +7,7 @@ * * PHP version 5 * - * Copyright © 2010 Remi Collet + * Copyright © 2010-2014 Remi Collet * * This file is part of rpmphp. * @@ -29,7 +29,7 @@ * * @author Remi Collet * @author Johan Cwiklinski - * @copyright 2010 Remi Collet + * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version * @link http://github.com/remicollet/rpmphp/ * @since The begining of times. @@ -63,16 +63,7 @@ if ( !isset($name) || !$name ) { unset($fedpkg[$k]['package']['id']); unset($fedpkg[$k]['package']['statuscode']); unset($fedpkg[$k]['package']['upstreamurl']); - $people = $fedpkg[$k]['people']; - $tmp = array(); - foreach ( $people as $p ) { - if (isset($p['aclOrder']['commit']['statuscode']) - && $p['aclOrder']['commit']['statuscode']==3) { - $tmp[] = $p['username']; - } - } - sort($tmp); - $fedpkg[$k]['people'] = implode($tmp, ', '); + $fedpkg[$k]['people'] = implode($fedpkg[$k]['people'], ', '); $fedpkg[$k]['package']['description'] = nl2br($fedpkg[$k]['package']['description']); } } -- cgit