mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 09:52:20 +00:00
Fix #11281 and some other stuff.
This commit is contained in:
@@ -23,6 +23,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Support;
|
||||
|
||||
use FireflyIII\Support\Facades\Preferences;
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Support\Facades\Steam;
|
||||
use Illuminate\Support\Collection;
|
||||
@@ -44,7 +45,7 @@ class CacheProperties
|
||||
$this->properties = new Collection();
|
||||
if (auth()->check()) {
|
||||
$this->addProperty(auth()->user()->id);
|
||||
$this->addProperty(app('preferences')->lastActivity());
|
||||
$this->addProperty(Preferences::lastActivity());
|
||||
$this->addProperty(Steam::anonymous());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user