Skip to content
Snippets Groups Projects
Commit 0dfdbac8 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#178892 by webchick: use drupal_get_private_key() instead of directly...

#178892 by webchick: use drupal_get_private_key() instead of directly retrieving the drupal_private_key variable in update module, so we can ensure a proper private key is generated
parent ba9a73be
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -28,9 +28,7 @@ function _update_refresh() {
$available = array();
$data = array();
$site_key = '';
$drupal_private_key = variable_get('drupal_private_key', '');
$site_key = md5($base_url . $drupal_private_key);
$site_key = md5($base_url . drupal_get_private_key());
$projects = update_get_projects();
foreach ($projects as $key => $project) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment