#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

6.x
Gábor Hojtsy 2007-10-03 13:35:15 +00:00
parent ba9a73bed7
commit 0dfdbac88f
1 changed files with 1 additions and 3 deletions

View File

@ -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) {