mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Apply "Squiz" code style on old (pre-2014) files
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| <?php | ||||
|  | ||||
| include("includes/graphs/common.inc.php"); | ||||
| require 'includes/graphs/common.inc.php'; | ||||
|  | ||||
| $rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_mem.rrd"; | ||||
| $rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/ucd_mem.rrd'; | ||||
|  | ||||
| $rrd_options .= " '-b 1024'"; | ||||
|  | ||||
| @@ -98,5 +98,3 @@ $rrd_options .= " 'GPRINT:cached_perc:LAST:%3.0lf%%\\n'"; | ||||
| $rrd_options .= " 'LINE1:totalreal#050505:'"; | ||||
| $rrd_options .= " 'LINE1:totalreal#050505:Total'"; | ||||
| $rrd_options .= " 'GPRINT:totalreal:AVERAGE:  %6.2lf%sB\\n'"; | ||||
|  | ||||
| ?> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user