diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-10-03 13:35:15 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-10-03 13:35:15 +0000 |
commit | 0dfdbac88fdd684efded42ac343b9b7dd22e0cf6 (patch) | |
tree | eab459d2422b837495ec1d73122fa10f966bce26 /modules/update | |
parent | ba9a73bed7113b99727fa5730e84f8571025cfdf (diff) | |
download | brdo-0dfdbac88fdd684efded42ac343b9b7dd22e0cf6.tar.gz brdo-0dfdbac88fdd684efded42ac343b9b7dd22e0cf6.tar.bz2 |
#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
Diffstat (limited to 'modules/update')
-rw-r--r-- | modules/update/update.fetch.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/update/update.fetch.inc b/modules/update/update.fetch.inc index a3af87f7b..7a3a9765e 100644 --- a/modules/update/update.fetch.inc +++ b/modules/update/update.fetch.inc @@ -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) { |