mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Remove code handled by ConsumableAssignment:: call above
This commit is contained in:
parent
35e7a3163c
commit
392d34422a
|
@ -246,9 +246,6 @@ class BulkUsersController extends Controller
|
|||
|
||||
|
||||
foreach ($users as $user) {
|
||||
|
||||
// @todo: This can be deleted since we have ConsumableAssignment above right?
|
||||
$user->consumables()->sync([]);
|
||||
// @todo: Can this be removed if we introduce AccessoryAssignment?
|
||||
$user->accessories()->sync([]);
|
||||
if ($request->input('delete_user')=='1') {
|
||||
|
|
Loading…
Reference in a new issue