Fix migration script

This commit is contained in:
Matthias Pfefferle 2023-05-11 09:45:01 +02:00
parent 7b545b4639
commit 47b1b10955

View file

@ -1,7 +1,8 @@
<?php
namespace Activitypub;
use Acctivitypub\Model\Follower;
use Activitypub\Model\Follower;
use Activitypub\Collection\Followers;
/**
* ActivityPub Migration Class
@ -82,7 +83,7 @@ class Migration {
$follower->upsert();
$result = wp_set_object_terms( $user_id, $follower->get_actor(), self::TAXONOMY, true );
$result = wp_set_object_terms( $user_id, $follower->get_actor(), Followers::TAXONOMY, true );
}
}
}