Skip to content

Commit

Permalink
fixed update check
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Mar 3, 2020
1 parent 6f534dc commit ee153d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Utilities/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public static function all()
{
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(),
]);
}

Expand All @@ -30,7 +30,7 @@ public static function phpVersion()
{
return phpversion();
}

public static function mysqlVersion()
{
if (env('DB_CONNECTION') === 'mysql') {
Expand All @@ -39,4 +39,4 @@ public static function mysqlVersion()

return 'N/A';
}
}
}

0 comments on commit ee153d3

Please sign in to comment.