From 58262451e3be08df5f3031db011861fc50768ca7 Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Sat, 28 Jul 2018 04:24:47 +0100 Subject: [PATCH] Forgot to remove this now useless function in a previous commit --- ActivityPubPlugin.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ActivityPubPlugin.php b/ActivityPubPlugin.php index a6660ff..cd475cc 100755 --- a/ActivityPubPlugin.php +++ b/ActivityPubPlugin.php @@ -73,13 +73,6 @@ class ActivityPubPlugin extends Plugin return actor_uri($profile)."/"; } - public static function stripUrlPath($url) - { - $urlParts = parse_url($url); - $newUrl = $urlParts['scheme'] . "://" . $urlParts['host'] . "/"; - return $newUrl; - } - /** * Get remote user's ActivityPub_profile via a identifier *