Skip to content
Snippets Groups Projects
Commit 9be2954c authored by Pegane Nestor's avatar Pegane Nestor
Browse files

FEAT #7739 remove useless var + lang var

parent 1c9aca9c
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,6 @@ export class HistoryAdministrationComponent implements OnInit { ...@@ -21,8 +21,6 @@ export class HistoryAdministrationComponent implements OnInit {
coreUrl : string; coreUrl : string;
lang : any = LANG; lang : any = LANG;
loading : boolean = false; loading : boolean = false;
loading1 : boolean = false;
loading2 : boolean = false;
limitExceeded : boolean = false; limitExceeded : boolean = false;
batchLimitExceeded : boolean = false; batchLimitExceeded : boolean = false;
......
...@@ -317,12 +317,11 @@ abstract class ServiceModelAbstract ...@@ -317,12 +317,11 @@ abstract class ServiceModelAbstract
} }
$administration = []; $administration = [];
// $administrationMenu = ServiceModel::getApplicationAdministrationMenuByUserServices(['userServices' => $servicesStoredInDB]);
$administrationApplication = ServiceModel::getApplicationAdministrationServicesByUserServices(['userServices' => $servicesStoredInDB]); $administrationApplication = ServiceModel::getApplicationAdministrationServicesByUserServices(['userServices' => $servicesStoredInDB]);
$administrationModule = ServiceModel::getModulesAdministrationServicesByUserServices(['userServices' => $servicesStoredInDB]); $administrationModule = ServiceModel::getModulesAdministrationServicesByUserServices(['userServices' => $servicesStoredInDB]);
foreach($administrationApplication['supervision'] as $key => $value){ foreach($administrationApplication['supervision'] as $key => $value){
if($value['name'] == "Historique des batchs"){ if($value['name'] === _HISTORY_BATCH){
array_splice($administrationApplication['supervision'], $key, 1); array_splice($administrationApplication['supervision'], $key, 1);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment