Code clean up

This commit is contained in:
James Cole
2016-09-16 12:15:58 +02:00
parent f38984398d
commit d25d0454fc
52 changed files with 135 additions and 185 deletions

View File

@@ -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());
}
}