phpcs compat

This commit is contained in:
Django Doucet 2023-04-04 20:33:00 -06:00
parent 502bf8b5a6
commit 9eb903ac15

View file

@ -223,7 +223,7 @@ function get_actor_from_key( $key_id ) {
$actor = \strip_fragment_from_url( $key_id );
if ( $actor === $key_id ) {
// strip /main-key/ for GoToSocial.
$actor = \dirname( $key_id, 1 );
$actor = \dirname( $key_id );
}
return $actor;
}