mirror of
https://github.com/netzbegruenung/circles.git
synced 2024-05-04 04:43:41 +02:00
Merge pull request #991 from nextcloud/fix/noid/update-population-on-new-circle
update population
This commit is contained in:
commit
1e006fcf2b
|
@ -257,9 +257,9 @@ class CirclesList extends Base {
|
|||
Circle::$DEF_SOURCE[$circle->getSource()],
|
||||
$this->cut($displayName ? $owner->getDisplayName() : $owner->getUserId(), 40),
|
||||
$this->configService->displayInstance($owner->getInstance()),
|
||||
$circle->getPopulation() . '/' . $this->getInt(
|
||||
'members_limit', $circle->getSettings(), -1
|
||||
)
|
||||
$circle->getPopulation() . '/'
|
||||
. $this->getInt('members_limit', $circle->getSettings(), -1)
|
||||
. ' (' . $circle->getPopulationInherited() . ')'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
@ -142,7 +142,9 @@ class CircleCreate implements
|
|||
|
||||
$this->circleRequest->save($circle);
|
||||
$this->memberRequest->save($owner);
|
||||
|
||||
$this->membershipService->onUpdate($owner->getSingleId());
|
||||
$this->membershipService->updatePopulation($circle);
|
||||
|
||||
$this->eventService->circleCreating($event);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue