Remove unused logic from home controller

This commit is contained in:
James Cole
2023-10-22 06:58:17 +02:00
parent 2923d1b449
commit 9b22c16f14

View File

@@ -118,9 +118,6 @@ class HomeController extends Controller
*/
public function index(AccountRepositoryInterface $repository): mixed
{
if ('v3' === config('firefly.layout')) {
return view('pwa');
}
$types = config('firefly.accountTypesByIdentifier.asset');
$count = $repository->count($types);
Log::channel('audit')->info('User visits homepage.');