cvs: pear-core /PEAR/Command Registry.php

From: Date: Sat, 14 Jun 2008 09:14:13 +0000
Subject: cvs: pear-core /PEAR/Command Registry.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-7597@lists.php.net to get a copy of this message
dufuz Sat Jun 14 09:14:13 2008 UTC Modified files: /pear-core/PEAR/Command Registry.php Log: Fix Bug #13908 pear info command and maintainers inactive not mentioned http://cvs.php.net/viewvc.cgi/pear-core/PEAR/Command/Registry.php?r1=1.81&r2=1.82&diff_format=u Index: pear-core/PEAR/Command/Registry.php diff -u pear-core/PEAR/Command/Registry.php:1.81 pear-core/PEAR/Command/Registry.php:1.82 --- pear-core/PEAR/Command/Registry.php:1.81 Thu Jan 3 20:26:36 2008 +++ pear-core/PEAR/Command/Registry.php Sat Jun 14 09:14:12 2008 @@ -16,7 +16,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2008 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Registry.php,v 1.81 2008/01/03 20:26:36 cellog Exp $ + * @version CVS: $Id: Registry.php,v 1.82 2008/06/14 09:14:12 dufuz Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -212,7 +212,7 @@ $this->ui->outputData($data, $command); return true; } - + function doListAll($command, $options, $params) { // This duplicate code is deprecated over @@ -246,7 +246,7 @@ } return true; } - + function doFileList($command, $options, $params) { if (count($params) != 1) { @@ -669,8 +669,10 @@ if (!empty($info['Maintainers'])) { $info['Maintainers'] .= "\n"; } + + $active = $lead['active'] == 'no' ? ', inactive' : ''; $info['Maintainers'] .= $lead['name'] . ' <'; - $info['Maintainers'] .= $lead['email'] . "> ($role)"; + $info['Maintainers'] .= $lead['email'] . "> ($role$active)"; } } $info['Release Date'] = $obj->getDate();

« previous php.pear.core (#7597) next »