cvs: pearweb /include pear-database.php
| From: | Martin Jansen | Date: | Fri, 06 Oct 2006 11:41:02 +0000 |
| Subject: | cvs: pearweb /include pear-database.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-42431@lists.php.net to get a copy of this message | ||
mj Fri Oct 6 11:41:02 2006 UTC
Modified files:
/pearweb/include pear-database.php
Log:
* Don't display inactive developers in release announcement mails.
* Minor tweaks to mail text.
# Bug #7498. Patch by Mark Wiesemann.
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-database.php?r1=1.313&r2=1.314&diff_format=u
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.313 pearweb/include/pear-database.php:1.314
--- pearweb/include/pear-database.php:1.313 Wed Oct 4 09:46:51 2006
+++ pearweb/include/pear-database.php Fri Oct 6 11:41:02 2006
@@ -17,7 +17,7 @@
| Tomas V.V.Cox <cox@php.net> |
| Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.313 2006/10/04 09:46:51 mj Exp $
+ $Id: pear-database.php,v 1.314 2006/10/06 11:41:02 mj Exp $
*/
require_once 'DB/storage.php';
@@ -2174,6 +2174,9 @@
$authors = package::info($pkginfo['package'], 'authors');
$txt_authors = '';
foreach ($authors as $a) {
+ if (!$a['active']) {
+ continue;
+ }
$txt_authors .= $a['name'];
if ($a['showemail']) {
$txt_authors .= " <{$a['email']}>";
@@ -2191,7 +2194,7 @@
{$pkginfo['release_notes']}
Package Info
--------------
+------------
{$pkginfo['description']}
Related Links
@@ -2201,7 +2204,7 @@
Download: http://download.$channel/package/$upload
Authors
--------------
+-------
$txt_authors
END;
@@ -2230,6 +2233,9 @@
$authors = package::info($pkginfo->getPackage(), 'authors');
$txt_authors = '';
foreach ($authors as $a) {
+ if (!$a['active']) {
+ continue;
+ }
$txt_authors .= $a['name'];
if ($a['showemail']) {
$txt_authors .= " <{$a['email']}>";
@@ -2247,7 +2253,7 @@
' . $pkginfo->getNotes() . '
Package Info
--------------
+------------
' . $pkginfo->getDescription() . '
Related Links
@@ -2258,7 +2264,7 @@
Download: http://download.' . PEAR_CHANNELNAME .
'/package/' . $upload . '
Authors
--------------
+-------
' . $txt_authors;
$to = '"PEAR general list" <' . PEAR_GENERAL_EMAIL .
'>';