mirror of
https://github.com/buddypress/buddypress.git
synced 2026-07-23 21:06:56 +08:00
Props imath. Closes https://github.com/buddypress/buddypress/pull/295 Fixes #9081 git-svn-id: https://buddypress.svn.wordpress.org/trunk@13980 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
21 lines
310 B
PHP
21 lines
310 B
PHP
<?php
|
|
|
|
/**
|
|
* Mock email delivery implementation.
|
|
*
|
|
* @since 2.5.0
|
|
*/
|
|
class BP_UnitTest_Mailer implements BP_Email_Delivery {
|
|
|
|
/**
|
|
* Send email(s).
|
|
*
|
|
* @since 2.5.0
|
|
*
|
|
* @param BP_Email $email Email to send.
|
|
* @return bool
|
|
*/
|
|
public function bp_email( BP_Email $email ) {
|
|
return true;
|
|
}
|
|
}
|