cvs: pearweb /cron bug-summary.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 13 Jan 2008 16:39:53 +0000 |
| Subject: | cvs: pearweb /cron bug-summary.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-50271@lists.php.net to get a copy of this message | ||
dufuz Sun Jan 13 16:39:53 2008 UTC
Modified files:
/pearweb/cron bug-summary.php
Log:
use the constant for emails
http://cvs.php.net/viewvc.cgi/pearweb/cron/bug-summary.php?r1=1.14&r2=1.15&diff_format=u
Index: pearweb/cron/bug-summary.php
diff -u pearweb/cron/bug-summary.php:1.14 pearweb/cron/bug-summary.php:1.15
--- pearweb/cron/bug-summary.php:1.14 Sat Jan 5 21:12:00 2008
+++ pearweb/cron/bug-summary.php Sun Jan 13 16:39:53 2008
@@ -16,7 +16,7 @@
* | Authors: Helgi �ormar �orbj�rnsson <dufuz@php.net> |
* +----------------------------------------------------------------------+
*
- * $Id: bug-summary.php,v 1.14 2008/01/05 21:12:00 dufuz Exp $
+ * $Id: bug-summary.php,v 1.15 2008/01/13 16:39:53 dufuz Exp $
*/
require_once 'PEAR.php';
@@ -106,10 +106,10 @@
case 'Web Site':
case 'Bug System':
case 'PEPr':
- $to = 'pear-webmaster@lists.php.net';
+ $to = PEAR_WEBMASTER_EMAIL;
break;
case 'Documentation':
- $to = 'pear-doc@lists.php.net';
+ $to = PEAR_DOC_EMAIL;
// retrieve Documentation Problem bugs for each package
$query = "
SELECT
@@ -190,6 +190,5 @@
}
}
// Email PEAR-QA the whole bug list
- mail('pear-qa@lists.php.net', $siteBig . ' Bug Summary Report', $body,
'From: ' . $siteBig . $from . ' <' . $bugEmail .">\r\n",
'-f bounce-no-user@php.net');
-}
-?>
+ mail(PEAR_QA_EMAIL, $siteBig . ' Bug Summary Report', $body, 'From: ' .
$siteBig . $from . ' <' . $bugEmail .">\r\n", '-f
bounce-no-user@php.net');
+}
\ No newline at end of file