Исправление опечаток предпоследнего коммита (2)
This commit is contained in:
parent
ac09f7593a
commit
9672252b64
@ -7,9 +7,9 @@
|
||||
use Modules\Main\Models\Agent\Agent;
|
||||
use Modules\Main\Models\Complex;
|
||||
|
||||
if (!function_exists('UserIsCompanyAdmin'))
|
||||
if (!function_exists('AdminCompanyOfUser'))
|
||||
{
|
||||
function UserIsCompanyAdmin()
|
||||
function AdminCompanyOfUser()
|
||||
{
|
||||
if ($adminAccount = CompanyAdmin::where('user_id', auth()->user()->id)->first())
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user