Initial Commit
The initial public commit of MVGL website code.
This commit is contained in:
commit
b39ecf1638
2043 changed files with 215154 additions and 0 deletions
15
app/Helpers/User.php
Normal file
15
app/Helpers/User.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
if (!function_exists('fetchActiveUsersCount')) {
|
||||
/**
|
||||
* Fetch and return a count of active users.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
function fetchActiveUsersCount()
|
||||
{
|
||||
return User::count();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue