add missing user_id
This commit is contained in:
parent
fcf6740d36
commit
4414121502
1 changed files with 3 additions and 3 deletions
|
@ -241,12 +241,12 @@ class Followers {
|
||||||
/**
|
/**
|
||||||
* Get a Follower
|
* Get a Follower
|
||||||
*
|
*
|
||||||
* @param int $user_id The ID of the WordPress User
|
* @param int $user_id The ID of the WordPress User
|
||||||
* @param string $actor The Actor URL
|
* @param string $actor The Actor URL
|
||||||
*
|
*
|
||||||
* @return \Activitypub\Model\Follower The Follower object
|
* @return \Activitypub\Model\Follower The Follower object
|
||||||
*/
|
*/
|
||||||
public static function get_follower( $actor ) {
|
public static function get_follower( $user_id, $actor ) {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
$post_id = $wpdb->get_var(
|
$post_id = $wpdb->get_var(
|
||||||
|
|
Loading…
Reference in a new issue