logo       

cvs: pearweb /include pear-database.php: msg#00010

php.pear.core

Subject: cvs: pearweb /include pear-database.php

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@xxxxxxx> |
| Martin Jansen <mj@xxxxxxx> |
+----------------------------------------------------------------------+
- $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 . '>';

--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise