Skip to content

Commit 3703a5a

Browse files
authored
Merge pull request #86 from jeedom/beta
merge
2 parents 43ae377 + 6fd4133 commit 3703a5a

2 files changed

Lines changed: 4 additions & 12 deletions

File tree

core/class/script.class.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,6 @@ public function execute($_options = null) {
209209
script::$_requet_cache[$request] = $result;
210210
}
211211
}
212-
if ($this->getType() == 'action') {
213-
return;
214-
}
215212
if (trim($this->getConfiguration('reponseMustContain')) != '' && strpos($result, trim($this->getConfiguration('reponseMustContain'))) === false) {
216213
throw new Exception(__('La réponse ne contient pas "', __FILE__) . $this->getConfiguration('reponseMustContain') . '" : "' . $result . '"');
217214
}
@@ -262,9 +259,6 @@ public function execute($_options = null) {
262259
$request_http->setNoSslCheck(true);
263260
}
264261
$xml = trim($request_http->exec($this->getConfiguration('xmlTimeout', 2), $this->getConfiguration('maxXmlRetry', 3)));
265-
if ($this->getType() == 'action') {
266-
return;
267-
}
268262
if ($this->getType() == 'info') {
269263
script::$_requet_cache[$urlXml] = $xml;
270264
}
@@ -305,9 +299,6 @@ public function execute($_options = null) {
305299
$request_http->setNoSslCheck(true);
306300
}
307301
$json_str = trim($request_http->exec($this->getConfiguration('jsonTimeout', 2), $this->getConfiguration('maxJsonRetry', 3)));
308-
if ($this->getType() == 'action') {
309-
return;
310-
}
311302
if ($this->getType() == 'info') {
312303
script::$_requet_cache[$urlJson] = $json_str;
313304
}
@@ -383,9 +374,6 @@ public function execute($_options = null) {
383374
$request_http->setNoSslCheck(true);
384375
}
385376
$html = $request_http->exec($this->getConfiguration('htmlTimeout', 2), $this->getConfiguration('maxHtmlRetry', 3));
386-
if ($this->getType() == 'action') {
387-
return;
388-
}
389377
if ($this->getType() == 'info') {
390378
script::$_requet_cache[$urlHtml] = $html;
391379
}

docs/fr_FR/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
>
55
>Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte
66
7+
# 11/01/2024
8+
9+
- Correction d'un bug sur la mise à jour des commandes info lors d'une action
10+
711
# 10/01/2024
812

913
- Correction d'un bug sur les requetes de type get http

0 commit comments

Comments
 (0)