Added statistics

This commit is contained in:
Michael 2017-12-19 07:39:21 +00:00
parent ddc25583be
commit 2b50f001b9
3 changed files with 11 additions and 4 deletions

View file

@ -909,6 +909,11 @@ class PortableContact
if (!$failure) {
// This will be too low, but better than no value at all.
$registered_users = dba::count('gcontact', ['server_url' => normalise_link($server_url)]);
// Every server has got an admin account at least
if ($registered_users == 0) {
$registered_users = 1;
}
}
// Look for poco