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

From: Date: Sun, 23 Sep 2007 22:34:26 +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-48664@lists.php.net to get a copy of this message
cellog Sun Sep 23 22:34:26 2007 UTC Modified files: /pearweb/include/bugs pear-bug-accountrequest.php Log: remove debug code http://cvs.php.net/viewvc.cgi/pearweb/include/bugs/pear-bug-accountrequest.php?r1=1.36&r2=1.37&diff_format=u Index: pearweb/include/bugs/pear-bug-accountrequest.php diff -u pearweb/include/bugs/pear-bug-accountrequest.php:1.36 pearweb/include/bugs/pear-bug-accountrequest.php:1.37 --- pearweb/include/bugs/pear-bug-accountrequest.php:1.36 Sun Sep 23 22:32:27 2007 +++ pearweb/include/bugs/pear-bug-accountrequest.php Sun Sep 23 22:34:26 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,7 +642,7 @@ ); $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", $extra_headers,

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