From 67d52e1d13ee30d7f014a72fbddce324da7d271d Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Fri, 6 Jul 2018 11:15:08 +0100 Subject: [PATCH] Remove profile.json endpoint as it is double --- ActivityPubPlugin.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ActivityPubPlugin.php b/ActivityPubPlugin.php index a95a008..4d61b2f 100644 --- a/ActivityPubPlugin.php +++ b/ActivityPubPlugin.php @@ -40,10 +40,6 @@ class ActivityPubPlugin extends Plugin ['nickname' => Nickname::DISPLAY_FMT], 'apactorprofile'); - $m->connect(':nickname/profile.json', - ['action' => 'apActorProfile'], - ['nickname' => Nickname::DISPLAY_FMT]); - $m->connect(':nickname/liked.json', ['action' => 'apActorLikedCollection'], ['nickname' => Nickname::DISPLAY_FMT]);