From 289a4dcba74dd7c4d355d3aa5453866e71392bd4 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 19 Jul 2021 16:15:06 +0000 Subject: [PATCH] Added missing app class (avoid fatal error) --- src/Module/DFRN/Notify.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Module/DFRN/Notify.php b/src/Module/DFRN/Notify.php index eb04348970..6aeb23417e 100644 --- a/src/Module/DFRN/Notify.php +++ b/src/Module/DFRN/Notify.php @@ -24,6 +24,7 @@ namespace Friendica\Module\DFRN; use Friendica\BaseModule; use Friendica\Core\Logger; use Friendica\Core\System; +use Friendica\DI; use Friendica\Model\Contact; use Friendica\Model\Conversation; use Friendica\Model\User; @@ -54,7 +55,7 @@ class Notify extends BaseModule self::dispatchPrivate($user, $postdata); } elseif (!self::dispatchPublic($postdata)) { require_once 'mod/salmon.php'; - salmon_post($a, $postdata); + salmon_post(DI::app(), $postdata); } }