Merge pull request #1446 from nextcloud/fix/init-ap

Fix init AP class
pull/1447/head
Carl Schwan 2022-07-12 14:10:44 +02:00 zatwierdzone przez GitHub
commit ed0ee34eac
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -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;