mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove some lightly used or unused dbFacile functions (#15418)
* Remove some lightly used or unused dbFacile functions ['NULL'] legacy behavior seems unsupported, replace with actual nulls * Fix refactor mishap * another * update baseline * these were very wrong... what happened?
This commit is contained in:
@@ -60,7 +60,7 @@ if (! empty($entPhysical)) {
|
||||
|
||||
if (! empty($update)) {
|
||||
if (array_key_exists('entStateLastChanged', $update) && is_null($update['entStateLastChanged'])) {
|
||||
$update['entStateLastChanged'] = ['NULL'];
|
||||
$update['entStateLastChanged'] = null;
|
||||
}
|
||||
|
||||
dbUpdate($update, 'entityState', 'entity_state_id=?', [$db_state['entity_state_id']]);
|
||||
|
Reference in New Issue
Block a user