mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 17:03:16 +00:00
Addons hadn't been changed for the moved emailer class
This commit is contained in:
parent
b5822d8dfe
commit
90a5c32238
3 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
use Friendica\Util\Emailer;
|
||||||
|
|
||||||
require_once('include/security.php');
|
require_once('include/security.php');
|
||||||
|
|
||||||
|
@ -285,7 +286,6 @@ function dav_cron(&$a, &$b)
|
||||||
'textVersion' => $text_text,
|
'textVersion' => $text_text,
|
||||||
'additionalMailHeader' => "",
|
'additionalMailHeader' => "",
|
||||||
);
|
);
|
||||||
require_once('include/Emailer.php');
|
|
||||||
Emailer::send($params);
|
Emailer::send($params);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* Author: Rabuzarus <https://friendica.kommune4.de/profile/rabuzarus> (Port to Friendica)
|
* Author: Rabuzarus <https://friendica.kommune4.de/profile/rabuzarus> (Port to Friendica)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once('include/Emailer.php');
|
use Friendica\Util\Emailer;
|
||||||
|
|
||||||
function notifyall_install() {
|
function notifyall_install() {
|
||||||
logger("installed notifyall");
|
logger("installed notifyall");
|
||||||
|
|
|
@ -8,8 +8,7 @@
|
||||||
|
|
||||||
use Friendica\App;
|
use Friendica\App;
|
||||||
use Friendica\Core\PConfig;
|
use Friendica\Core\PConfig;
|
||||||
|
use Friendica\Util\Emailer;
|
||||||
require_once 'include/Emailer.php';
|
|
||||||
|
|
||||||
/* because the fraking openpgp-php is in composer, require libs in composer
|
/* because the fraking openpgp-php is in composer, require libs in composer
|
||||||
* and then don't use autoloader to load classes... */
|
* and then don't use autoloader to load classes... */
|
||||||
|
|
Loading…
Reference in a new issue