Project

General

Profile

« Previous | Next » 

Revision 6c07db48

Added by Phil Davis about 10 years ago

Code spacing

and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.

View differences:

etc/inc/upgrade_config.inc
2415 2415

  
2416 2416
function upgrade_063_to_064() {
2417 2417
	global $config;
2418
	$j=0;
2418
	$j = 0;
2419 2419
	$ifcfg = &$config['interfaces'];
2420 2420

  
2421 2421
	if (is_array($config['ppps']['ppp']) && count($config['ppps']['ppp'])) {
......
2448 2448
			if (isset($ifinfo['ptpid'])) {
2449 2449
				continue;
2450 2450
			}
2451
			$ppp['ptpid'] =  $j;
2451
			$ppp['ptpid'] = $j;
2452 2452
			$ppp['type'] = $ifinfo['ipaddr'];
2453 2453
			$ppp['if'] = $ifinfo['ipaddr'].$j;
2454 2454
			$ppp['ports'] = $ifinfo['if'];

Also available in: Unified diff