Commit a57750027cf9e33c146d7b88d6e0b431098f93f1
1 parent
8cecc7ff
Exists in
master
and in
1 other branch
Submetendo modulos para o webservice
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
rn/MdEstatisticasColetarRN.php
... | ... | @@ -38,7 +38,8 @@ class MdEstatisticasColetarRN extends InfraRN { |
38 | 38 | 'protocolo' => $this->obterProtocolo(), |
39 | 39 | 'quantidadeUnidades' => $this->obterQuantidadeUnidades(), |
40 | 40 | 'quantidadeProcedimentos' => $this->obterQuantidadeProcessosAdministrativos(), |
41 | - 'navegadores' => $this->obterNavegadores() | |
41 | + 'navegadores' => $this->obterNavegadores(), | |
42 | + 'modulos' => $this->obterPlugins() | |
42 | 43 | ); |
43 | 44 | |
44 | 45 | return $indicadores; |
... | ... | @@ -94,10 +95,9 @@ class MdEstatisticasColetarRN extends InfraRN { |
94 | 95 | ); |
95 | 96 | array_push($lista, $result); |
96 | 97 | } |
97 | - $resultado = json_encode($lista); | |
98 | 98 | |
99 | - InfraDebug::getInstance()->gravar('SEI03 - Plugins: ' . $resultado, InfraLog::$INFORMACAO); | |
100 | - return $resultado; | |
99 | + InfraDebug::getInstance()->gravar('SEI03 - Plugins: ' . json_encode($lista), InfraLog::$INFORMACAO); | |
100 | + return $lista; | |
101 | 101 | } |
102 | 102 | |
103 | 103 | private function obterQuantidadeUnidades(){ | ... | ... |