Removed babel

This commit is contained in:
Arturo Gonzalez 2017-05-23 17:55:37 +02:00
parent 6f6eac640b
commit 63554c54a2
3 changed files with 0 additions and 39 deletions

View File

@ -109,7 +109,6 @@ if (is_ajax ()) {
break;
case 'pandora':
case 'babel':
case 'ad':
case 'saml':
case 'integria':

View File

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

View File

@ -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');
}