Forgot to remove this now useless function in a previous commit
This commit is contained in:
parent
995aec80c7
commit
58262451e3
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user