mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Added a new argument to the constructor of the account repository which should correctly inject the user.
This commit is contained in:
@@ -31,8 +31,10 @@ class CacheProperties
|
||||
public function __construct()
|
||||
{
|
||||
$this->properties = new Collection;
|
||||
$this->addProperty(Auth::user()->id);
|
||||
$this->addProperty(Prefs::lastActivity());
|
||||
if (Auth::check()) {
|
||||
$this->addProperty(Auth::user()->id);
|
||||
$this->addProperty(Prefs::lastActivity());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user