1
0
Fork 0

Update SiteController

This commit is contained in:
Daniel Supernault 2019-06-19 21:16:01 -06:00
parent 7ade78b4ee
commit 4539afabdb
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class SiteController extends Controller
$page = Page::whereSlug('/site/about')->whereActive(true)->first();
$stats = [
'posts' => Status::whereLocal(true)->count(),
'users' => User::count(),
'users' => User::whereNull('status')->count(),
'admin' => User::whereIsAdmin(true)->first()
];
if($page) {