mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Code clean up
This commit is contained in:
@@ -12,7 +12,6 @@ declare(strict_types = 1);
|
||||
namespace FireflyIII\Support;
|
||||
|
||||
|
||||
use Auth;
|
||||
use Cache;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Collection as EloquentCollection;
|
||||
@@ -39,7 +38,7 @@ class CacheProperties
|
||||
{
|
||||
$this->properties = new Collection;
|
||||
if (auth()->check()) {
|
||||
$this->addProperty(Auth::user()->id);
|
||||
$this->addProperty(auth()->user()->id);
|
||||
$this->addProperty(Prefs::lastActivity());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user