phpcs compat
This commit is contained in:
parent
502bf8b5a6
commit
9eb903ac15
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue