mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
mark ports deleted when deleted. allow changing of top logo (maybe we remove this again, i dunno)
git-svn-id: http://www.observium.org/svn/observer/trunk@2683 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -120,6 +120,9 @@ foreach ($port_stats as $ifIndex => $port)
|
||||
dbUpdate(array('deleted' => '0'), 'ports', '`interface_id` = ?', array($ports[$ifIndex]['interface_id']));
|
||||
$ports[$ifIndex]['deleted'] = "0";
|
||||
}
|
||||
} else {
|
||||
dbUpdate(array('deleted' => '1'), 'ports', '`interface_id` = ?', array($ports[$ifIndex]['interface_id']));
|
||||
$ports[$ifIndex]['deleted'] = "1";
|
||||
}
|
||||
}
|
||||
/// End New interface detection
|
||||
|
Reference in New Issue
Block a user