Remove unneeded code

This commit is contained in:
Marcus Moore 2024-02-14 11:10:45 -08:00
parent af513946a2
commit d7aed2edc9
No known key found for this signature in database
2 changed files with 0 additions and 3 deletions

View file

@ -879,7 +879,6 @@ class AssetsController extends Controller
$asset->expected_checkin = null;
$asset->last_checkout = null;
$asset->last_checkin = now();
$asset->assigned_to = null;
$asset->assignedTo()->disassociate($asset);
$asset->accepted = null;

View file

@ -69,9 +69,7 @@ class AssetCheckinController extends Controller
$asset->expected_checkin = null;
$asset->last_checkout = null;
$asset->last_checkin = now();
$asset->assigned_to = null;
$asset->assignedTo()->disassociate($asset);
$asset->assigned_type = null;
$asset->accepted = null;
$asset->name = $request->get('name');