fix function call (#503)

This commit is contained in:
Matthias Pfefferle 2023-10-12 13:25:50 +02:00 committed by GitHub
parent 2ef72a0364
commit d564915fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,7 @@
namespace Activitypub;
use WP_Error;
use Activitypub\Webfinger;
/**
* ActivityPub Mention Class

View file

@ -1,6 +1,7 @@
<?php
namespace Activitypub\Integration;
use Activitypub\Rest\Webfinger as Webfinger_Rest;
use Activitypub\Collection\Users as User_Collection;
/**
@ -52,6 +53,6 @@ class Webfinger {
return $array;
}
return self::get_profile( $resource );
return Webfinger_Rest::get_profile( $resource );
}
}