Commit 0dfdbac8 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#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
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment