Remove meshcentral references in api

This commit is contained in:
Marcus Hill
2022-04-28 21:46:41 +01:00
parent eee7c0b204
commit 917377ed17
2 changed files with 0 additions and 10 deletions

View File

@@ -66,11 +66,6 @@ if(isset($_POST['asset_notes'])){
} else{
$notes = '';
}
if(isset($_POST['asset_meshcentral_id'])){
$meshcentral_id = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['asset_meshcentral_id'])));
} else{
$meshcentral_id = '';
}
if(isset($_POST['asset_vendor_id'])){
$vendor = intval($_POST['asset_vendor_id']);
} else{

View File

@@ -79,11 +79,6 @@ if(!empty($asset_id)){
} else{
$notes = $row['asset_notes'];
}
if(isset($_POST['asset_meshcentral_id'])){
$meshcentral_id = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['asset_meshcentral_id'])));
} else{
$meshcentral_id = $row['asset_meshcentral_id'];
}
if(isset($_POST['asset_vendor_id'])){
$vendor = intval($_POST['asset_vendor_id']);
} else{