Skip to content

Commit

Permalink
Fix bad merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhobbs committed Oct 10, 2011
1 parent 837ed4d commit a03a17b
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions AWSTransport.php
Expand Up @@ -13,7 +13,7 @@
* @subpackage Transport
* @author John Hobbs
*/
class Swift_AWSTransport implements Swift_Transport {
class Swift_AWSTransport extends Swift_Transport_AWSTransport {

/** the service access key */
private $AWSAccessKeyId;
Expand Down Expand Up @@ -155,19 +155,7 @@ protected function _doSend( Swift_Mime_Message $message, &$failedRecipients = nu

$result = $socket->read();

if( defined('SWIFT_AWS_DEBUG') ) {
echo "=== Start AWS Response ===\r\n";
echo $result->body;
echo "=== End AWS Response ===\r\n";
}


if( 200 == $result->code ) {
return count((array) $message->getTo());
}
else {
return 0;
}
return $result;
}

/**
Expand Down

0 comments on commit a03a17b

Please sign in to comment.