Skip to content

Commit fce32a5

Browse files
author
Loïc
authored
Update script.class.php
1 parent 954ce53 commit fce32a5

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

core/class/script.class.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,7 @@ public function refresh() {
181181
if (trim($this->getConfiguration('request')) == '') {
182182
return;
183183
}
184-
$value = $this->execute();
185-
if ($this->execCmd() != $this->formatValue($value)) {
186-
$this->event($value);
187-
}
184+
$this->checkAndUpdateCmd($this, $this->execute());
188185
}
189186

190187
public function preSave() {

0 commit comments

Comments
 (0)