Sintax problems resolved on Api.php

Former-commit-id: e42cbd99938e57abad1ea4e9c76ddeedb9e0cc01
This commit is contained in:
marcos.alconada 2019-04-15 17:18:16 +02:00
parent 28eae48a9e
commit 86ff1accbd
1 changed files with 6 additions and 6 deletions

View File

@ -149,16 +149,16 @@ if ($correctLogin) {
break;
case 'get_info_user_name':
$id_os = get_info_user_name($type, $user);
$id_os = api_get_info_user_name($type, $user);
if ($id_os == 100) {
if ($id_os === 100) {
returnError('not_allowed_operation_cluster', $returnType);
return false;
}
break;
case 'get_filter_user_group':
$id_os = get_filter_user_group($type, $user, $group, $disable);
$id_os = api_get_filter_user_group($type, $user, $group, $disable);
if ($id_os === false) {
returnError('not_allowed_operation_cluster', $returnType);
@ -167,7 +167,7 @@ if ($correctLogin) {
break;
case 'delete_user_profile':
$id_os = delete_user_profile($user);
$id_os = api_delete_user_profile($user);
if ($id_os === false) {
returnError('not_allowed_operation_cluster', $returnType);
@ -176,7 +176,7 @@ if ($correctLogin) {
break;
case 'get_list_all_user':
$id_os = get_list_all_user($type);
$id_os = api_get_list_all_user($type);
if ($id_os === false) {
returnError('not_allowed_operation_cluster', $returnType);
@ -184,7 +184,7 @@ if ($correctLogin) {
}
case 'add_permission_user_to_group':
$id_os = add_permisson_user_to_group($type, $id_user, $group, $profile, $other = ';');
$id_os = api_add_permisson_user_to_group($type, $id_user, $group, $profile, $other = ';');
if ($id_os === false) {
returnError('not_allowed_operation_cluster', $returnType);