mirror of
https://github.com/friendica/friendica
synced 2024-11-20 07:03:41 +00:00
add additional page types to admin user report
This commit is contained in:
parent
8b19168999
commit
a122fecf50
1 changed files with 4 additions and 2 deletions
|
@ -183,13 +183,15 @@ function admin_page_summary(&$a) {
|
|||
Array( t('Normal Account'), 0),
|
||||
Array( t('Soapbox Account'), 0),
|
||||
Array( t('Community/Celebrity Account'), 0),
|
||||
Array( t('Automatic Friend Account'), 0)
|
||||
Array( t('Automatic Friend Account'), 0),
|
||||
Array( t('Blog Account'), 0),
|
||||
Array( t('Private Forum'), 0)
|
||||
);
|
||||
|
||||
$users=0;
|
||||
foreach ($r as $u){ $accounts[$u['page-flags']][1] = $u['count']; $users+= $u['count']; }
|
||||
|
||||
logger('accounts: ' . print_r($accounts,true));
|
||||
logger('accounts: ' . print_r($accounts,true),LOGGER_DATA);
|
||||
|
||||
$r = q("SELECT COUNT(id) as `count` FROM `register`");
|
||||
$pending = $r[0]['count'];
|
||||
|
|
Loading…
Reference in a new issue