- debug\n- webserver fonctionnel
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user