mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Remove static references
This commit is contained in:
@@ -92,7 +92,7 @@ class Installer
|
||||
DB::table('users')->count();
|
||||
} catch (QueryException $e) {
|
||||
$message = $e->getMessage();
|
||||
Log::error(sprintf('Error message trying to access users-table: %s', $message));
|
||||
app('log')->error(sprintf('Error message trying to access users-table: %s', $message));
|
||||
if ($this->isAccessDenied($message)) {
|
||||
throw new FireflyException(
|
||||
'It seems your database configuration is not correct. Please verify the username and password in your .env file.',
|
||||
|
@@ -108,7 +108,7 @@ class Range
|
||||
|
||||
// send error to view, if could not set money format
|
||||
if (false === $moneyResult) {
|
||||
Log::error('Could not set locale. The following array doesnt work: ', $localeArray);
|
||||
app('log')->error('Could not set locale. The following array doesnt work: ', $localeArray);
|
||||
app('view')->share('invalidMonetaryLocale', true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user