From e38aa031aca73dede096035f6ad22f3380be00af Mon Sep 17 00:00:00 2001 From: Esteban Sanchez Date: Mon, 1 Sep 2008 10:47:51 +0000 Subject: [PATCH] 2008-09-01 Esteban Sanchez * extensions/update_manager.php: Get user key with the function instead of the unexistent keygen. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/extensions/update_manager.php | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2ec7d49f3d..f646a6d8d2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2008-09-01 Esteban Sanchez + + * extensions/update_manager.php: Get user key with the function + instead of the unexistent keygen. + 2008-09-01 Esteban Sanchez * extensions/update_manager/sql/update_manager.sql, diff --git a/pandora_console/extensions/update_manager.php b/pandora_console/extensions/update_manager.php index 81f0e91a47..5aff58dc97 100644 --- a/pandora_console/extensions/update_manager.php +++ b/pandora_console/extensions/update_manager.php @@ -90,10 +90,7 @@ function pandora_update_manager_login () { um_db_update_setting ('update_server_host', 'www.artica.es'); um_db_update_setting ('update_server_path', 'pandoraupdate/server.php'); - if (empty ($settings->keygen_path)) - return false; - - $user_key = exec ($settings->keygen_path); + $user_key = get_user_key (); $package = um_client_check_latest_update ($settings, $user_key);