Forgot to remove this now useless function in a previous commit

This commit is contained in:
Diogo Cordeiro 2018-07-28 04:24:47 +01:00
parent 995aec80c7
commit 58262451e3

View File

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