pajoye Fri Feb 16 14:42:08 2007 UTC
Modified files:
/peclweb/public_html/bugs/include functions.inc
Log:
- add 5.2.0 and 4.4.5
- Add a copy of the latest releases at the top, easier to select
http://cvs.php.net/viewvc.cgi/peclweb/public_html/bugs/include/functions.inc?r1=1.25&r2=1.26&diff_format=u
Index: peclweb/public_html/bugs/include/functions.inc
diff -u peclweb/public_html/bugs/include/functions.inc:1.25
peclweb/public_html/bugs/include/functions.inc:1.26
--- peclweb/public_html/bugs/include/functions.inc:1.25 Mon Jan 29 21:35:33 2007
+++ peclweb/public_html/bugs/include/functions.inc Fri Feb 16 14:42:08 2007
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License
- * @version $Id: functions.inc,v 1.25 2007/01/29 21:35:33 pajoye Exp $
+ * @version $Id: functions.inc,v 1.26 2007/02/16 14:42:08 pajoye Exp $
*/
@@ -482,7 +482,10 @@
function show_version_options($current, $default = '')
{
$versions = array(
+ '5.2.1',
+ '4.4.5',
'4_4 CVS-' . date('Y-m-d'),
+ '4.4.5',
'4.4.4',
'4.4.3',
'4.4.2',
@@ -502,7 +505,7 @@
'4.3.0',
'4_3 CVS-' . date('Y-m-d'),
'5_2 CVS-' . date('Y-m-d'),
- '5.2.1RC4',
+ '5.2.1',
'5.2.0',
'5.1.6',
'5.1.5',
@@ -697,9 +700,18 @@
$text = array();
$headers = array();
+
/* Default addresses */
list($mailto,$mailfrom, $Bcc) =
get_package_mail(oneof($in['package_name'],$bug['package_name']), $id);
-
+ if ($user == 'pajoye') {
+ echo "<pre>";
+ print_r($mailfrom);
+ print_r("\n");
+ print_r($Bcc);
+ print_r("\n");
+ print_r($mailto);
+ echo "</pre>";
+ }
/* Get rid of slashes in bug status */
$bug['status'] = rinse($bug['status']);
@@ -1040,6 +1052,8 @@
function get_package_mail($package_name, $bug_id=false)
{
global $site, $bugEmail, $dbh;
+ global $user;
+
// XXX Change to pear-bugs when it gets opened
//$to[] = "pear-dev@xxxxxxxxxxxxx";
@@ -1053,7 +1067,11 @@
}
$maintainers = package::info($package_name, 'authors');
-
+ if ($user == 'pajoye') {
+ echo "<pre>";
+ print_r($maintainers);
+ echo "</pre>";
+ }
$to = array();
foreach ($maintainers as $data) {
if (!$data['active']) {
|