mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Remove all unneeded if($debug)-statements and replace them with d_echo in the rest of the directories...
This commit is contained in:
+1
-3
@@ -118,9 +118,7 @@ if ($discovered_devices) {
|
||||
}
|
||||
|
||||
$string = $argv[0]." $doing ".date($config['dateformat']['compact'])." - $discovered_devices devices discovered in $proctime secs";
|
||||
if ($debug) {
|
||||
echo "$string\n";
|
||||
}
|
||||
d_echo("$string\n");
|
||||
|
||||
if ($options['h'] != 'new' && $config['version_check']) {
|
||||
include 'includes/versioncheck.inc.php';
|
||||
|
||||
Reference in New Issue
Block a user