mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Commented out rtd_location_id override - why did we do that?
This commit is contained in:
parent
b4fa4c77d7
commit
197a84be94
|
@ -646,9 +646,12 @@ class AssetsController extends Controller
|
|||
$asset_name = request('name', null);
|
||||
|
||||
// Set the location ID to the RTD location id if there is one
|
||||
if ((isset($target->rtd_location_id)) && ($asset->rtd_location_id!='')) {
|
||||
$asset->location_id = $target->rtd_location_id;
|
||||
}
|
||||
// Wait, why are we doing this? This overrides the stuff we set further up, which makes no sense.
|
||||
// TODO: Follow up here. WTF. Commented out for now.
|
||||
|
||||
// if ((isset($target->rtd_location_id)) && ($asset->rtd_location_id!='')) {
|
||||
// $asset->location_id = $target->rtd_location_id;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue