mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: Prevent function collisions with Laravel (#8166)
Make function call compatible drop insensitive starts_with and ends_with for now as they aren't needed.
This commit is contained in:
committed by
Neil Lathwood
parent
1ee7d51f7a
commit
b2762d9fa7
@@ -41,7 +41,7 @@ class Symbol extends OS implements WirelessClientsDiscovery
|
||||
{
|
||||
$device = $this->getDevice();
|
||||
|
||||
if (str_contains($device['hardware'], 'AP', true)) {
|
||||
if (str_i_contains($device['hardware'], 'AP')) {
|
||||
$oid = '.1.3.6.1.4.1.388.11.2.4.2.100.10.1.18.1';
|
||||
return array(
|
||||
new WirelessSensor('clients', $device['device_id'], $oid, 'symbol', 1, 'Clients')
|
||||
|
Reference in New Issue
Block a user