Update reference to Steam

This commit is contained in:
Sander Dorigo
2025-12-17 08:43:39 +01:00
parent e8fe9db181
commit 486e0d5ed5
48 changed files with 150 additions and 148 deletions

View File

@@ -59,7 +59,7 @@ trait ChartGeneration
return $cache->get();
}
Log::debug('Regenerate chart.account.account-balance-chart from scratch.');
$locale = app('steam')->getLocale();
$locale = \FireflyIII\Support\Facades\Steam::getLocale();
/** @var GeneratorInterface $generator */
$generator = app(GeneratorInterface::class);

View File

@@ -53,7 +53,7 @@ trait UserNavigation
$url = (string)session($identifier);
Log::debug(sprintf('The URL is %s', $url));
return app('steam')->getSafeUrl($url, route('index'));
return \FireflyIII\Support\Facades\Steam::getSafeUrl($url, route('index'));
}
/**
@@ -137,7 +137,7 @@ trait UserNavigation
final protected function rememberPreviousUrl(string $identifier): ?string
{
$return = app('steam')->getSafePreviousUrl();
$return = \FireflyIII\Support\Facades\Steam::getSafePreviousUrl();
session()->put($identifier, $return);
Log::debug(sprintf('rememberPreviousUrl: %s: "%s"', $identifier, $return));