<?php
+use Friendica\Util\Emailer;
require_once('include/security.php');
'textVersion' => $text_text,
'additionalMailHeader' => "",
);
- require_once('include/Emailer.php');
Emailer::send($params);
}
break;
* Author: Rabuzarus <https://friendica.kommune4.de/profile/rabuzarus> (Port to Friendica)
*/
-require_once('include/Emailer.php');
+use Friendica\Util\Emailer;
function notifyall_install() {
logger("installed notifyall");
use Friendica\App;
use Friendica\Core\PConfig;
-
-require_once 'include/Emailer.php';
+use Friendica\Util\Emailer;
/* because the fraking openpgp-php is in composer, require libs in composer
* and then don't use autoloader to load classes... */