fixed update check
This commit is contained in:
parent
6f534dc308
commit
ee153d3d79
@ -12,8 +12,8 @@ class Info
|
||||
{
|
||||
return array_merge(static::versions(), [
|
||||
'api_key' => setting('apps.api_key'),
|
||||
'companies' => Company::all()->count(),
|
||||
'users' => User::all()->count(),
|
||||
'companies' => Company::count(),
|
||||
'users' => User::count(),
|
||||
]);
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ class Info
|
||||
{
|
||||
return phpversion();
|
||||
}
|
||||
|
||||
|
||||
public static function mysqlVersion()
|
||||
{
|
||||
if (env('DB_CONNECTION') === 'mysql') {
|
||||
@ -39,4 +39,4 @@ class Info
|
||||
|
||||
return 'N/A';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user