Projet

Général

Profil

« Précédent | Suivant » 

Révision 08f30320

Ajouté par Renato Botelho il y a presque 10 ans

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

Voir les différences:

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
?>

Formats disponibles : Unified diff