Removed boundary methods.

This commit is contained in:
Juan Basso 2011-04-17 11:07:18 -04:00
parent 46c79ec4a1
commit 163c7f06bb
2 changed files with 0 additions and 33 deletions

View file

@ -538,15 +538,6 @@ class EmailComponent extends Component {
return $msg;
}
/**
* Create unique boundary identifier
*
* @access private
*/
function _createboundary() {
$this->_boundary = md5(uniqid(time()));
}
/**
* Format the message by seeing if it has attachments.
*

View file

@ -85,29 +85,6 @@ class EmailTestComponent extends EmailComponent {
return $this->_smtpConnection;
}
/**
* Convenience setter for testing.
*
* @access public
* @return void
*/
function setBoundary() {
$this->_createBoundary();
}
/**
* Convenience getter for testing.
*
* @access public
* @return string
*/
function getBoundary() {
if (empty($this->_boundary)) {
return null;
}
return $this->_boundary;
}
/**
* Convenience getter for testing.
*
@ -1141,7 +1118,6 @@ HTMLBLOC;
$this->assertNull($this->Controller->EmailTest->date);
$this->assertNull($this->Controller->EmailTest->subject);
$this->assertNull($this->Controller->EmailTest->additionalParams);
$this->assertNull($this->Controller->EmailTest->getBoundary());
$this->assertIdentical($this->Controller->EmailTest->getMessage(), array());
$this->assertNull($this->Controller->EmailTest->smtpError);
$this->assertIdentical($this->Controller->EmailTest->attachments, array());