Some Renames:
- EMail => EMail - toEmail => toAddress - fromEmail => fromAddress
This commit is contained in:
parent
49254a8307
commit
ae5ebf1e89
4 changed files with 8 additions and 8 deletions
|
@ -6,12 +6,12 @@ use Friendica\App\BaseURL;
|
|||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Core\Config\IConfig;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Object\EMail;
|
||||
use Friendica\Object\Email;
|
||||
|
||||
/**
|
||||
* Class for creating a Notify-All EMail
|
||||
*/
|
||||
class NotifyAllEMail extends EMail
|
||||
class NotifyAllEmail extends Email
|
||||
{
|
||||
public function __construct(L10n $l10n, IConfig $config, BaseURL $baseUrl, string $text)
|
||||
{
|
|
@ -8,7 +8,7 @@
|
|||
* Author: Rabuzarus <https://friendica.kommune4.de/profile/rabuzarus> (Port to Friendica)
|
||||
*/
|
||||
|
||||
use Friendica\Addon\notifyall\NotifyAllEMail;
|
||||
use Friendica\Addon\notifyall\NotifyAllEmail;
|
||||
use Friendica\App;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Core\Logger;
|
||||
|
@ -60,7 +60,7 @@ function notifyall_post(App $a)
|
|||
return;
|
||||
}
|
||||
|
||||
$notifyEmail = new NotifyAllEMail(DI::l10n(), DI::config(), DI::baseUrl(), $text);
|
||||
$notifyEmail = new NotifyAllEmail(DI::l10n(), DI::config(), DI::baseUrl(), $text);
|
||||
|
||||
foreach ($recipients as $recipient) {
|
||||
DI::emailer()->send($notifyEmail->withRecipient($recipient['email']));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue