From b62838e81f9a51360d61db59b0d382c47ae455cf Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Tue, 2 Apr 2019 13:03:50 -0400 Subject: [PATCH] Remove legacy code --- app/Contact.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Contact.php b/app/Contact.php index 475c6d6..4df5c2e 100644 --- a/app/Contact.php +++ b/app/Contact.php @@ -34,8 +34,6 @@ class Contact extends Model $query->where('name', 'ilike', '%'.$search.'%'); }); }); - // })->when($filters['role'] ?? null, function ($query, $role) { - // $query->whereRole($role); })->when($filters['trashed'] ?? null, function ($query, $trashed) { if ($trashed === 'with') { $query->withTrashed();