revert: instancesettings

This commit is contained in:
Andras Bacsai
2024-07-12 15:45:36 +02:00
parent a85066c644
commit 0f55e83591
22 changed files with 36 additions and 36 deletions

View File

@@ -65,7 +65,7 @@ class Handler extends ExceptionHandler
if ($e instanceof RuntimeException) {
return;
}
$this->settings = view()->shared('instanceSettings');
$this->settings = \App\Models\InstanceSettings::get();
if ($this->settings->do_not_track) {
return;
}