use config helper instead of env in application code

This commit is contained in:
Ethan Brace
2020-04-26 06:07:27 -04:00
parent 16092f657c
commit 6a11f130c2
18 changed files with 29 additions and 23 deletions

View File

@ -19,7 +19,7 @@ class Notifications
public function compose(View $view)
{
// No need to add suggestions in console
if (app()->runningInConsole() || !env('APP_INSTALLED') || !user()) {
if (app()->runningInConsole() || !config('app.installed') || !user()) {
return;
}