1 system.install system_update_1036()

Remove the private key from configuration.

Related topics

File

core/modules/system/system.install, line 2670
Install, update and uninstall functions for the system module.

Code

function system_update_1036() {
  // A new private key is generated automatically by backdrop_get_private_key().
  $config = config('system.core');
  $config->clear('private_key');
  $config->save();
}