Fix cache issue in recurring cron job report.

This commit is contained in:
James Cole
2025-06-01 12:24:02 +02:00
parent 5d35edb126
commit ed54a5c9a4
3 changed files with 18 additions and 15 deletions

View File

@@ -39,7 +39,7 @@ class FireflyConfig
{
public function delete(string $name): void
{
$fullName = 'ff-config-'.$name;
$fullName = 'ff3-config-'.$name;
if (Cache::has($fullName)) {
Cache::forget($fullName);
}
@@ -81,7 +81,7 @@ class FireflyConfig
*/
public function get(string $name, mixed $default = null): ?Configuration
{
$fullName = 'ff-config-'.$name;
$fullName = 'ff3-config-'.$name;
if (Cache::has($fullName)) {
return Cache::get($fullName);
}