myvideogamelist.com/app/Helpers/User.php
Jimmy Brancaccio b39ecf1638 Initial Commit
The initial public commit of MVGL website code.
2024-01-14 13:51:43 -06:00

15 lines
250 B
PHP

<?php
use App\Models\User;
if (!function_exists('fetchActiveUsersCount')) {
/**
* Fetch and return a count of active users.
*
* @return int
*/
function fetchActiveUsersCount()
{
return User::count();
}
}