Removing redundant class attribute - debug mode should always be enabled by setting EmailComponent:: to 'debug'.

This commit is contained in:
jperras 2009-08-09 19:19:10 -04:00
parent 2c5eb204c9
commit c3aa0de244

View file

@ -246,14 +246,6 @@ class EmailComponent extends Object{
*/ */
var $smtpError = null; var $smtpError = null;
/**
* If set to true, the mail method will be auto-set to 'debug'
*
* @var string
* @access protected
*/
var $_debug = false;
/** /**
* Temporary store of message header lines * Temporary store of message header lines
* *
@ -351,9 +343,7 @@ class EmailComponent extends Object{
$this->__message[] = ''; $this->__message[] = '';
} }
if ($this->_debug) {
return $this->_debug();
}
$_method = '_' . $this->delivery; $_method = '_' . $this->delivery;
$sent = $this->$_method(); $sent = $this->$_method();