Changeset 27385 for trunk/tests/phpunit/includes/mock-mailer.php
- Timestamp:
- 03/03/2014 08:24:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/mock-mailer.php
r25002 r27385 5 5 var $mock_sent = array(); 6 6 7 // override the Send function so it doesn't actually send anything 8 function Send() { 7 /** 8 * Override send() so mail isn't actually sent. 9 */ 10 function send() { 9 11 try { 10 if ( ! $this-> PreSend() )12 if ( ! $this->preSend() ) 11 13 return false; 12 14
Note: See TracChangeset
for help on using the changeset viewer.