cvs: pearweb /include/bugs pear-bug-accountrequest.php
| From: | Greg Beaver | Date: | Sun, 23 Sep 2007 22:32:27 +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-48663@lists.php.net to get a copy of this message | ||
cellog Sun Sep 23 22:32:27 2007 UTC
Modified files:
/pearweb/include/bugs pear-bug-accountrequest.php
Log:
remove unused variable
http://cvs.php.net/viewvc.cgi/pearweb/include/bugs/pear-bug-accountrequest.php?r1=1.35&r2=1.36&diff_format=u
Index: pearweb/include/bugs/pear-bug-accountrequest.php
diff -u pearweb/include/bugs/pear-bug-accountrequest.php:1.35
pearweb/include/bugs/pear-bug-accountrequest.php:1.36
--- pearweb/include/bugs/pear-bug-accountrequest.php:1.35 Sat Jun 16 02:45:28 2007
+++ pearweb/include/bugs/pear-bug-accountrequest.php Sun Sep 23 22:32:27 2007
@@ -65,11 +65,11 @@
$mailer = Damblan_Mailer::create('pearweb_account_request_bug', $mailData);
$additionalHeaders['To'] = $email;
PEAR::pushErrorHandling(PEAR_ERROR_RETURN);
- if (!DEVBOX) {
+ if (DEVBOX) {
$e = $mailer->send($additionalHeaders);
}
PEAR::popErrorHandling();
- if (!DEVBOX && PEAR::isError($e)) {
+ if (DEVBOX && PEAR::isError($e)) {
throw new Exception('Cannot send confirmation email: ' .
$e->getMessage());
}
return true;
@@ -642,10 +642,10 @@
);
$type = @$types[$buginfo['bug_type']];
- if (DEVBOX == false) {
+ if (DEVBOX !== false) {
// mail to package developers
@mail($mailto, "[PEAR-BUG] $buginfo[bug_type] #$buginfo[id] [NEW]: $sdesc",
- $ascii_report . "1\n-- \n$dev_extra", $extra_headers,
+ $ascii_report . "1\n-- \n", $extra_headers,
'-f bounce-no-user@php.net');
// mail to reporter
@mail($email, "[PEAR-BUG] $buginfo[bug_type] #$buginfo[id]: $sdesc",