mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Removed old comments
This commit is contained in:
parent
37f950ab42
commit
2c64739e8f
|
@ -28,7 +28,6 @@ class AssetCheckoutController extends Controller
|
||||||
{
|
{
|
||||||
// Check if the asset exists
|
// Check if the asset exists
|
||||||
if (is_null($asset = Asset::find(e($assetId)))) {
|
if (is_null($asset = Asset::find(e($assetId)))) {
|
||||||
// Redirect to the asset management page with error
|
|
||||||
return redirect()->route('hardware.index')->with('error', trans('admin/hardware/message.does_not_exist'));
|
return redirect()->route('hardware.index')->with('error', trans('admin/hardware/message.does_not_exist'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +38,6 @@ class AssetCheckoutController extends Controller
|
||||||
}
|
}
|
||||||
return redirect()->route('hardware.index')->with('error', trans('admin/hardware/message.checkout.not_available'));
|
return redirect()->route('hardware.index')->with('error', trans('admin/hardware/message.checkout.not_available'));
|
||||||
|
|
||||||
// Get the dropdown of users and then pass it to the checkout view
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue