Commit 1813a0ba7dcf21590aee61249c72c62acc788918

Authored by Nathanael Jourdane
1 parent 310e00b3

Remove AMDA to the services results

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
php/epntap.php
... ... @@ -50,6 +50,10 @@ function getServices() {
50 50 for($j=0; $j<count($services); $j++) {
51 51 $services[$j]['id'] = generateServiceId($services[$j]);
52 52 $services[$j]['nb_results'] = -1;
  53 + if($services[$j]['id'] == 'cdpp/amda/amdadb') {
  54 + array_splice($services, $j, 1);
  55 + $j-=1;
  56 + }
53 57 }
54 58 return $services;
55 59 } else if($i === count($registriesURL)-1) {
... ...