mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Removed unused setting variable
This commit is contained in:
parent
7d416d1175
commit
7497eaf302
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue