From f8a25a51078e63f7eb8ff652673b4854e408566b Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 7 Nov 2025 17:10:32 +0000 Subject: [PATCH] Apply fixes from StyleCI --- includes/polling/sensors/temperature/aos-emu2.inc.php | 1 - includes/polling/sensors/temperature/geist-watchdog.inc.php | 1 - 2 files changed, 2 deletions(-) diff --git a/includes/polling/sensors/temperature/aos-emu2.inc.php b/includes/polling/sensors/temperature/aos-emu2.inc.php index 6462d66137e0..b1500a356fe5 100644 --- a/includes/polling/sensors/temperature/aos-emu2.inc.php +++ b/includes/polling/sensors/temperature/aos-emu2.inc.php @@ -23,7 +23,6 @@ * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ - $scale = SnmpQuery::cache()->enumStrings()->get('PowerNet-MIB::emsStatusSysTempUnits.0')->value(); $sensor_value = fahrenheit_to_celsius($sensor_value, $scale); diff --git a/includes/polling/sensors/temperature/geist-watchdog.inc.php b/includes/polling/sensors/temperature/geist-watchdog.inc.php index 80f53eb286dd..8965779ab3d2 100644 --- a/includes/polling/sensors/temperature/geist-watchdog.inc.php +++ b/includes/polling/sensors/temperature/geist-watchdog.inc.php @@ -23,7 +23,6 @@ * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ - $temp_unit = SnmpQuery::cache()->get('GEIST-V4-MIB::temperatureUnits.0')->value(); if ($temp_unit === '0') {