dbUpdate() function

I’ve run across the function dbUpdate() in some of the LibreNMS code (like includes/polling/ports.inc.php) that references the dbUpdate function, but I can’t locate the function anywhere. Could someone point me in the right direction?

Update: Found it - includes/dbFacile.php:134

For anyone else stuck with a similar issue, there’s apparently a function built into PHP you can use to locate functions - How to find out where a function is defined using PHP ? - GeeksforGeeks

old school method

librenms$find . -type f -print0 | xargs -0 grep "function dbUpdate"
./includes/dbFacile.php:function dbUpdate($data, $table, $where = null, $parameters = [])

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.