Remove legacy function calls (#12651)

* massive inlines

* fix style and wtf

* remove rrdtool.inc.php include

* fix CommonFunctions namespace issues

* looking for missing class space, fix undefined class issues

* style fixes
This commit is contained in:
Tony Murray
2021-03-28 17:25:30 -05:00
committed by GitHub
parent 1695f86af8
commit 1c379dcd05
832 changed files with 2023 additions and 2596 deletions

View File

@@ -6,8 +6,8 @@ require realpath(__DIR__ . '/..') . '/includes/init.php';
$options = getopt('h:p:');
$hosts = str_replace('*', '%', mres($options['h']));
$ports = str_replace('*', '%', mres($options['p']));
$hosts = str_replace('*', '%', $options['h']);
$ports = str_replace('*', '%', $options['p']);
if (empty($hosts) && empty($ports)) {
echo "-h <device hostname wildcard> Device(s) to match (all is a valid arg)\n";