Update includes/class-migration.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
This commit is contained in:
parent
9cd33ad544
commit
be73f99b59
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ class Migration {
|
||||||
foreach ( get_users( array( 'fields' => 'ID' ) ) as $user_id ) {
|
foreach ( get_users( array( 'fields' => 'ID' ) ) as $user_id ) {
|
||||||
$followers = get_user_meta( $user_id, 'activitypub_followers', true );
|
$followers = get_user_meta( $user_id, 'activitypub_followers', true );
|
||||||
|
|
||||||
if ( $followes ) {
|
if ( $followers ) {
|
||||||
foreach ( $followes as $follower ) {
|
foreach ( $followers as $follower ) {
|
||||||
Collection\Followers::add_follower( $user_id, $follower );
|
Collection\Followers::add_follower( $user_id, $follower );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue