Updater Log Message + api tweeks

This commit is contained in:
jonatanrek committed 2020-03-16 15:03:43 +01:00
1 parent ceeb002b6e
commit 801e26dda9
2 files changed
+8 -2

No files matched your search

+1 -1
View File
@@ -288,7 +288,7 @@ if ($values != null && $values != "") {
$subDeviceLastReordValue = $subDeviceLastReord['value'];
if ($subDeviceLastReord['execuded'] == 0){
$logManager->write("[API] subDevice_ID ".$subDeviceId . " executed comand with value " .$subDeviceLastReordValue . " record id " . $subDeviceLastReord['record_id'] . " executed " . $subDeviceLastReord['execuded']);
$logManager->write("[API] subDevice_ID ".$subDeviceId . " executed comand with value " .$subDeviceLastReordValue . " record id " . $subDeviceLastReord['record_id'] . " executed " . $subDeviceLastReord['execuded'], LogRecordType::INFO);
RecordManager::setExecuted($subDeviceLastReord['record_id']);
}