Remove dead code

This commit is contained in:
Marcus Moore 2024-09-19 11:33:20 -07:00
parent 9b22d6d493
commit 2137890496
No known key found for this signature in database
2 changed files with 0 additions and 4 deletions

View file

@ -192,9 +192,6 @@ class AccessoriesController extends Controller
$this->authorize('view', Accessory::class);
$accessory = Accessory::with('lastCheckout')->findOrFail($id);
if (! Company::isCurrentUserHasAccess($accessory)) {
return ['total' => 0, 'rows' => []];
}
$offset = request('offset', 0);
$limit = request('limit', 50);

View file

@ -3,7 +3,6 @@
namespace Database\Factories;
use App\Models\Accessory;
use App\Models\AccessoryCheckout;
use App\Models\Category;
use App\Models\Location;
use App\Models\Manufacturer;