summaryrefslogtreecommitdiffstats
path: root/pkgdb-ajax.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-05-15 09:28:35 +0200
committerRemi Collet <fedora@famillecollet.com>2014-05-15 09:28:35 +0200
commitd84a48e948b80ecca27e6b8d9e301a1489f33647 (patch)
tree545bfa05b80ad94c38375661383fbd35d53ca1bd /pkgdb-ajax.php
parent01deba7406b28fb5c7d7a2bc5a9b1b9ae954009e (diff)
pkgdb2 compatibility, ++, bump fedpkg cli version to 0.3.0-dev
Diffstat (limited to 'pkgdb-ajax.php')
-rw-r--r--pkgdb-ajax.php15
1 files changed, 3 insertions, 12 deletions
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 <unknown@unknwown.com>
* @author Johan Cwiklinski <johan@x-tnd.be>
- * @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']);
}
}