From de39091a793e027ceeba497d44463481a038c243 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 9 Jul 2021 19:32:06 +0000 Subject: [PATCH] Revert some test changes --- src/Protocol/ActivityPub/Processor.php | 1 - src/Protocol/ActivityPub/Receiver.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index fa04dc734..f4892b6c0 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -26,7 +26,6 @@ use Friendica\Content\Text\HTML; use Friendica\Content\Text\Markdown; use Friendica\Core\Logger; use Friendica\Core\Protocol; -use Friendica\Core\System; use Friendica\Database\DBA; use Friendica\DI; use Friendica\Model\APContact; diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index 277c93cd7..d59d9c4af 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -1300,7 +1300,7 @@ class Receiver * @return array * @throws \Exception */ - public static function processObject($object) + private static function processObject($object) { if (!JsonLD::fetchElement($object, '@id')) { return false;