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:
		| @@ -2,27 +2,25 @@ | ||||
|  | ||||
| $scale_min = 0; | ||||
|  | ||||
| require "includes/graphs/common.inc.php"; | ||||
| require 'includes/graphs/common.inc.php'; | ||||
|  | ||||
| $agent_rrd   = $config['rrd_dir'] . "/" . $device['hostname'] . "/agent.rrd"; | ||||
| $agent_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/agent.rrd'; | ||||
|  | ||||
| if (is_file($agent_rrd)) { | ||||
|     $rrd_filename = $agent_rrd; | ||||
| } | ||||
|  | ||||
| $ds = "time"; | ||||
| $ds = 'time'; | ||||
|  | ||||
| $colour_area = "EEEEEE"; | ||||
| $colour_line = "36393D"; | ||||
| $colour_area = 'EEEEEE'; | ||||
| $colour_line = '36393D'; | ||||
|  | ||||
| $colour_area_max = "FFEE99"; | ||||
| $colour_area_max = 'FFEE99'; | ||||
|  | ||||
| $graph_max = 1; | ||||
| $multiplier = 1000; | ||||
| $multiplier_action = "/"; | ||||
| $graph_max         = 1; | ||||
| $multiplier        = 1000; | ||||
| $multiplier_action = '/'; | ||||
|  | ||||
| $unit_text = "Seconds"; | ||||
| $unit_text = 'Seconds'; | ||||
|  | ||||
| require "includes/graphs/generic_simplex.inc.php"; | ||||
|  | ||||
| ?> | ||||
| require 'includes/graphs/generic_simplex.inc.php'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user