summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-07-12 14:07:49 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-07-12 14:07:49 +0200
commit1a4021a5bdc5f8be8521eae828bfd09dfc3dd6af (patch)
treeaab511c1a8dc8132f65216c42e2e0582fc991d61
parente50898a9a67eb12b3b2150a6f1028d213a4dfeab (diff)
Fix init AP class
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r--lib/AP.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/AP.php b/lib/AP.php
index 23f89a30..c780b39b 100644
--- a/lib/AP.php
+++ b/lib/AP.php
@@ -119,7 +119,6 @@ class AP {
public SocialAppNotificationInterface $notificationInterface;
public ConfigService $configService;
public static ?AP $activityPub = null;
- private SocialAppNotificationInterface $socialAppNotificationInterface;
public function __construct(
AcceptInterface $acceptInterface,
@@ -133,7 +132,7 @@ class AP {
ImageInterface $imageInterface,
LikeInterface $likeInterface,
NoteInterface $noteInterface,
- SocialAppNotificationInterface $socialAppNotificationInterface,
+ SocialAppNotificationInterface $notificationInterface,
PersonInterface $personInterface,
ServiceInterface $serviceInterface,
GroupInterface $groupInterface,
@@ -156,7 +155,7 @@ class AP {
$this->imageInterface = $imageInterface;
$this->likeInterface = $likeInterface;
$this->noteInterface = $noteInterface;
- $this->socialAppNotificationInterface = $socialAppNotificationInterface;
+ $this->notificationInterface = $notificationInterface;
$this->personInterface = $personInterface;
$this->serviceInterface = $serviceInterface;
$this->groupInterface = $groupInterface;