1
0

- debug\n- webserver fonctionnel

This commit is contained in:
2022-03-04 22:30:16 +01:00
parent a29aa9b653
commit 9d10e51a24
17 changed files with 273 additions and 128 deletions

View File

@ -161,12 +161,13 @@ function setDelay(&$deviceObject, $delay, $unit, $property, $value, $replace=fal
function removeEvent($deviceObject, $property , $value)
{
if (($eventKey = searchEvent($deviceObject, $property , $value)) === true)
$eventKey = searchEvent($deviceObject, $property , $value);
if ($eventKey !== false)
{
deleteEvent($eventKey);
}
}
function searchEvent($deviceObject, $property , $value)
{
global $events;