From 63554c54a2ccab02ccf6ed8f90663bf8baea1e3f Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Tue, 23 May 2017 17:55:37 +0200 Subject: [PATCH] Removed babel --- pandora_console/godmode/setup/setup_auth.php | 1 - pandora_console/include/auth/mysql.php | 8 ------ pandora_console/include/functions_config.php | 30 -------------------- 3 files changed, 39 deletions(-) diff --git a/pandora_console/godmode/setup/setup_auth.php b/pandora_console/godmode/setup/setup_auth.php index 0444731007..c7e29ea909 100644 --- a/pandora_console/godmode/setup/setup_auth.php +++ b/pandora_console/godmode/setup/setup_auth.php @@ -109,7 +109,6 @@ if (is_ajax ()) { break; case 'pandora': - case 'babel': case 'ad': case 'saml': case 'integria': diff --git a/pandora_console/include/auth/mysql.php b/pandora_console/include/auth/mysql.php index 53b9adc78e..a7e710dcb2 100644 --- a/pandora_console/include/auth/mysql.php +++ b/pandora_console/include/auth/mysql.php @@ -201,14 +201,6 @@ function process_user_login_remote ($login, $pass, $api = false) { } break; - // Remote Babel Enterprise - case 'babel': - if (enterprise_hook ('remote_babel_process_user_login', array ($login, $pass)) === false) { - $config["auth_error"] = "User not found in database or incorrect password"; - return false; - } - break; - // Remote Integria case 'integria': if (enterprise_hook ('remote_integria_process_user_login', array ($login, $pass)) === false) { diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 7dce4cebd3..3078ea2743 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -348,16 +348,6 @@ function config_update_config () { if (!config_update_value ('rpandora_pass', io_input_password(get_parameter ('rpandora_pass')))) $error_update[] = __('Password'); - if (!config_update_value ('rbabel_server', get_parameter ('rbabel_server'))) - $error_update[] = __('Babel Enterprise host'); - if (!config_update_value ('rbabel_port', get_parameter ('rbabel_port'))) - $error_update[] = __('MySQL port'); - if (!config_update_value ('rbabel_dbname', get_parameter ('rbabel_dbname'))) - $error_update[] = __('Database name'); - if (!config_update_value ('rbabel_user', get_parameter ('rbabel_user'))) - $error_update[] = __('User'); - if (!config_update_value ('rbabel_pass', io_input_password(get_parameter ('rbabel_pass')))) - $error_update[] = __('Password'); if (!config_update_value ('rintegria_server', get_parameter ('rintegria_server'))) $error_update[] = __('Integria host'); if (!config_update_value ('rintegria_port', get_parameter ('rintegria_port'))) @@ -1440,26 +1430,6 @@ function config_process_config () { config_update_value ( 'rpandora_pass', ''); } - if (!isset ($config['rbabel_server'])) { - config_update_value ( 'rbabel_server', 'localhost'); - } - - if (!isset ($config['rbabel_port'])) { - config_update_value ( 'rbabel_port', 3306); - } - - if (!isset ($config['rbabel_dbname'])) { - config_update_value ( 'rbabel_dbname', 'babel'); - } - - if (!isset ($config['rbabel_user'])) { - config_update_value ( 'rbabel_user', 'babel'); - } - - if (!isset ($config['rbabel_pass'])) { - config_update_value ( 'rbabel_pass', ''); - } - if (!isset ($config['rintegria_server'])) { config_update_value ( 'rintegria_server', 'localhost'); }