fix to availCount() (licenseSeatRelation) (#4378)

`license_seats`.`user_id` represents an overall "owner" of the license
This commit is contained in:
Kasey 2017-11-03 09:51:15 -07:00 committed by snipe
parent 104cc2bf11
commit ab9729c39a

View file

@ -268,7 +268,6 @@ class License extends Depreciable
return $this->licenseSeatsRelation() return $this->licenseSeatsRelation()
->whereNull('asset_id') ->whereNull('asset_id')
->whereNull('assigned_to') ->whereNull('assigned_to')
->whereNull('user_id')
->whereNull('deleted_at'); ->whereNull('deleted_at');
} }