mirror of
https://github.com/itflow-org/itflow
synced 2026-11-23 21:07:22 +00:00
Bring network platform sites' networks and VLANs into their clients' networks, matched by subnet and kept up detail by detail, with a platform card on the network page, with database 4.1.6
This commit is contained in:
@@ -218,6 +218,9 @@ function networkDelete($row) {
|
||||
$network_id = intval($row['network_id']);
|
||||
mysqli_query($mysqli, "UPDATE asset_interfaces SET interface_network_id = 0 WHERE interface_network_id = $network_id");
|
||||
mysqli_query($mysqli, "DELETE FROM networks WHERE network_id = $network_id");
|
||||
if (function_exists('rmmNetworksDeleted')) {
|
||||
rmmNetworksDeleted([$network_id]);
|
||||
}
|
||||
logAudit("Network", "Delete", "$session_name deleted network " . escapeSql($row['network_name']), intval($row['network_client_id']));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user