"selectForUser" and "" selectFirstForUser" is now moved to Post
This commit is contained in:
@@ -260,7 +260,7 @@ class Transmitter
|
||||
'gravity' => [GRAVITY_PARENT, GRAVITY_COMMENT],
|
||||
'deleted' => false, 'visible' => true, 'moderated' => false]);
|
||||
|
||||
$count = DBA::count('item', $condition);
|
||||
$count = Post::count($condition);
|
||||
|
||||
$data = ['@context' => ActivityPub::CONTEXT];
|
||||
$data['id'] = DI::baseUrl() . '/outbox/' . $owner['nickname'];
|
||||
|
||||
Reference in New Issue
Block a user