lint:fix
This commit is contained in:
parent
565a6caa1b
commit
9e8065ae5c
2 changed files with 7 additions and 6 deletions
|
@ -10,9 +10,11 @@ namespace Activitypub;
|
|||
class Server {
|
||||
|
||||
private static function known_inboxes() {
|
||||
$authors = get_users( array(
|
||||
'capability' => 'publish_posts'
|
||||
) );
|
||||
$authors = get_users(
|
||||
array(
|
||||
'capability' => 'publish_posts',
|
||||
)
|
||||
);
|
||||
$follower_inboxes_all = [];
|
||||
foreach ( $authors as $user ) {
|
||||
$follower_inboxes = Followers::get_inboxes( $user->ID );
|
||||
|
@ -20,5 +22,4 @@ class Server {
|
|||
}
|
||||
return array_unique( array_filter( $follower_inboxes_all ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue