Merge branch 'ent-2516-api-listar-y-crear-modulos-de-inventario-6170-eucomm' into 'develop'
Added centralized error code to API See merge request artica/pandorafms!2140 Former-commit-id: ed554c7874589d8ca5fe040b9433a8befc12a6e8
This commit is contained in:
commit
19268bad59
|
@ -100,6 +100,10 @@ function returnError($typeError, $returnType = 'string') {
|
|||
returnData($returnType,
|
||||
array('type' => 'string', 'data' => __('No data to show.')));
|
||||
break;
|
||||
case 'centralized':
|
||||
returnData($returnType,
|
||||
array('type' => 'string', 'data' => __('This console is not manager of this environment, please manage this feature from centralized manager console (Metaconsole).')));
|
||||
break;
|
||||
default:
|
||||
returnData("string",
|
||||
array('type' => 'string', 'data' => __($returnType)));
|
||||
|
|
Loading…
Reference in New Issue