| 1 user.install | user_update_1022() | 
Moves the "log_user_flood_control" variable to config.
Related topics
File
- core/modules/ user/ user.install, line 1324 
- Install, update and uninstall functions for the user module.
Code
function user_update_1022() {
  $config = config('user.flood');
  $config->set('flood_log_failed_attempts', update_variable_get('log_user_flood_control', TRUE));
  $config->save();
  update_variable_del('log_user_flood_control');
}
