|
|
|
@ -341,6 +341,7 @@
|
|
|
|
|
|
|
|
|
|
public const USERS_PER_STAFF = 50;
|
|
|
|
|
public const USERS_PER_STAFF_WARNING = 200;
|
|
|
|
|
public const MINIMUM_STAFF = 2;
|
|
|
|
|
|
|
|
|
|
private function has_good_staff_rating(): bool {
|
|
|
|
|
$recommended_staff_count = $this->active_users / CommunityRoom::USERS_PER_STAFF;
|
|
|
|
@ -398,7 +399,7 @@
|
|
|
|
|
if ($this->write && $this->has_good_staff_rating()) {
|
|
|
|
|
$derived_tags[] =
|
|
|
|
|
new CommunityTag(
|
|
|
|
|
"modded",
|
|
|
|
|
"moderated",
|
|
|
|
|
TagType::RESERVED_TAG,
|
|
|
|
|
"This Community has at least 1 staff per $USERS_PER_STAFF active users. $CHECK_MARK"
|
|
|
|
|
);
|
|
|
|
|