mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
fix(fediverse): set model instances as non shared to prevent overlapping
This commit is contained in:
parent
d9d139eefa
commit
91128fad7a
14 changed files with 79 additions and 79 deletions
|
|
@ -17,13 +17,13 @@ class NodeInfo2Controller extends Controller
|
|||
{
|
||||
public function index(): ResponseInterface
|
||||
{
|
||||
$totalUsers = model('ActorModel')
|
||||
$totalUsers = model('ActorModel', false)
|
||||
->getTotalLocalActors();
|
||||
$totalPosts = model('PostModel')
|
||||
$totalPosts = model('PostModel', false)
|
||||
->getTotalLocalPosts();
|
||||
$activeMonth = model('ActorModel')
|
||||
$activeMonth = model('ActorModel', false)
|
||||
->getActiveLocalActors(1);
|
||||
$activeHalfyear = model('ActorModel')
|
||||
$activeHalfyear = model('ActorModel', false)
|
||||
->getActiveLocalActors(6);
|
||||
|
||||
$nodeInfo2 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue