From 90a5c32238b513a92392c51c59254de8227f3e00 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 22 Nov 2017 23:10:01 +0000 Subject: [PATCH] Addons hadn't been changed for the moved emailer class --- dav/friendica/main.php | 2 +- notifyall/notifyall.php | 2 +- securemail/securemail.php | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dav/friendica/main.php b/dav/friendica/main.php index 05f6f714..006dce95 100644 --- a/dav/friendica/main.php +++ b/dav/friendica/main.php @@ -1,4 +1,5 @@ $text_text, 'additionalMailHeader' => "", ); - require_once('include/Emailer.php'); Emailer::send($params); } break; diff --git a/notifyall/notifyall.php b/notifyall/notifyall.php index 3f2cdc89..594a7540 100644 --- a/notifyall/notifyall.php +++ b/notifyall/notifyall.php @@ -9,7 +9,7 @@ * Author: Rabuzarus (Port to Friendica) */ -require_once('include/Emailer.php'); +use Friendica\Util\Emailer; function notifyall_install() { logger("installed notifyall"); diff --git a/securemail/securemail.php b/securemail/securemail.php index 95376696..011e60da 100644 --- a/securemail/securemail.php +++ b/securemail/securemail.php @@ -8,8 +8,7 @@ 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... */ -- 2.39.5