mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:10:11 +00:00
Added statistics
This commit is contained in:
parent
ddc25583be
commit
2b50f001b9
3 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue