Remove legacy code

This commit is contained in:
Jonathan Reinink 2019-04-02 13:03:50 -04:00
parent c7f860b3d7
commit b62838e81f
1 changed files with 0 additions and 2 deletions

View File

@ -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();