cvs: pearweb /include/bugs pear-bug-accountrequest.php

From: Date: Sun, 13 Jan 2008 16:43:18 +0000
Subject: cvs: pearweb /include/bugs pear-bug-accountrequest.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-50274@lists.php.net to get a copy of this message
dufuz Sun Jan 13 16:43:18 2008 UTC Modified files: /pearweb/include/bugs pear-bug-accountrequest.php Log: emails to constants http://cvs.php.net/viewvc.cgi/pearweb/include/bugs/pear-bug-accountrequest.php?r1=1.39&r2=1.40&diff_format=u Index: pearweb/include/bugs/pear-bug-accountrequest.php diff -u pearweb/include/bugs/pear-bug-accountrequest.php:1.39 pearweb/include/bugs/pear-bug-accountrequest.php:1.40 --- pearweb/include/bugs/pear-bug-accountrequest.php:1.39 Fri Dec 28 18:40:47 2007 +++ pearweb/include/bugs/pear-bug-accountrequest.php Sun Jan 13 16:43:18 2008 @@ -39,7 +39,7 @@ function sendEmail() { if (!$this->handle) { - throw new Exception('Internal fault: user was not set when sending email, please report to pear-core@lists.php.net'); + throw new Exception('Internal fault: user was not set when sending email, please report to ' . PEAR_DEV_EMAIL); } $salt = $this->dbh->getOne(' SELECT salt @@ -299,9 +299,9 @@ $msg = "Your PEAR bug tracker account has been opened.\n" . "Bugs you have opened will now be displayed, and you can\n" . "add new comments to existing bugs"; - $xhdr = "From: pear-webmaster@lists.php.net"; + $xhdr = "From: " . PEAR_WEBMASTER_EMAIL; if (!DEVBOX) { - mail($user['email'], "Your PEAR Bug Tracker Account Request", $msg, $xhdr, "-f bounce-no-user@php.net"); + mail($user['email'], "Your PEAR Bug Tracker Account Request", $msg, $xhdr, "-f " . PEAR_BOUNCE_EMAIL); } $this->deleteRequest(); return true;

« previous php.pear.cvs (#50274) next »