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

@@ -34,7 +34,6 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Collection;
use Log;
use Preferences;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/**
@@ -396,7 +395,7 @@ class TransactionJournal extends Model
}
$entry->data = $value;
$entry->save();
Preferences::mark();
app('preferences')->mark();
return $entry;
}