diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-07-12 14:10:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 14:10:44 +0200 |
commit | ed0ee34eace2791e4e417dde28ec903d6530d823 (patch) | |
tree | f622143eaa885f10ef2552cd184781cff944f7ca | |
parent | 2e26de84e47929d2a5b1ac7c1508e0f52b632e92 (diff) | |
parent | 1a4021a5bdc5f8be8521eae828bfd09dfc3dd6af (diff) |
Merge pull request #1446 from nextcloud/fix/init-ap
Fix init AP class
-rw-r--r-- | lib/AP.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; |