summaryrefslogtreecommitdiffstats
path: root/pkgdb-ajax.php
diff options
context:
space:
mode:
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']);
}
}