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