Removed unused setting variable

This commit is contained in:
snipe 2019-05-05 19:58:08 -04:00
parent 7d416d1175
commit 7497eaf302

View file

@ -842,7 +842,7 @@ class Asset extends Depreciable
* @return \Illuminate\Database\Query\Builder Modified query builder
*/
public function scopeOverdueForAudit($query, $settings)
public function scopeOverdueForAudit($query)
{
return $query->whereNotNull('assets.next_audit_date')
->where('assets.next_audit_date', '<', Carbon::now())