mirror of
https://github.com/friendica/friendica
synced 2025-05-24 15:44:13 +02:00
Don't count the system user on the administration page
This commit is contained in:
parent
54390bf19f
commit
7488a793a8
3 changed files with 5 additions and 4 deletions
|
@ -141,7 +141,7 @@ class Index extends BaseUsers
|
|||
|
||||
$th_users = array_map(null, [DI::l10n()->t('Name'), DI::l10n()->t('Email'), DI::l10n()->t('Register date'), DI::l10n()->t('Last login'), DI::l10n()->t('Last public item'), DI::l10n()->t('Type')], $valid_orders);
|
||||
|
||||
$count = DBA::count('user');
|
||||
$count = DBA::count('user', ["`uid` != ?", 0]);
|
||||
|
||||
$t = Renderer::getMarkupTemplate('admin/users/index.tpl');
|
||||
return self::getTabsHTML('all') . Renderer::replaceMacros($t, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue