Clean up references to static Facade.

This commit is contained in:
James Cole
2018-07-15 09:27:38 +02:00
parent 8fde16422e
commit 369839e012
21 changed files with 64 additions and 75 deletions

View File

@@ -42,7 +42,6 @@ use FireflyIII\User;
use Illuminate\Support\Collection;
use Illuminate\Support\MessageBag;
use Log;
use Preferences;
/**
* Class JournalRepository.
@@ -107,7 +106,7 @@ class JournalRepository implements JournalRepositoryInterface
$journal->save();
}
Preferences::mark();
app('preferences')->mark();
return new MessageBag;
}