Project

General

Profile

« Previous | Next » 

Revision 08f30320

Added by Renato Botelho about 11 years ago

Change the option for webconfig login autocomplete from opt-in to opt-out, also bump config version and write a function to keep the current status on upgrades

View differences:

etc/inc/upgrade_config.inc
3333 3333
	}
3334 3334
}
3335 3335

  
3336
function upgrade_107_to_108() {
3337
	global $config;
3338

  
3339
	if (isset($config['system']['webgui']['noautocomplete']))
3340
		unset($config['system']['webgui']['noautocomplete']);
3341
	else
3342
		$config['system']['webgui']['loginautocomplete'] = true;
3343
}
3344

  
3336 3345
?>

Also available in: Unified diff