debug
This commit is contained in:
@ -43,7 +43,7 @@ class alerte_intrusion extends hook
|
||||
}
|
||||
}
|
||||
|
||||
public function testPortes($deviceList=false, $send=true, $opened=true) :array
|
||||
/* public function testPortes($deviceList=false, $send=true, $opened=true) :array
|
||||
{
|
||||
global $indexDevices;
|
||||
$portes = array();
|
||||
@ -81,12 +81,12 @@ class alerte_intrusion extends hook
|
||||
logger(ALERT, _("doors opened :") . $msg, null ,$device);
|
||||
}
|
||||
return $portes;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
$hooks["alerte_intrusion"] = new alerte_intrusion();
|
||||
logger(DEBUG, _("Initializing event"), __FILE__ . ":" . __LINE__);
|
||||
$function = array($hooks["alerte_intrusion"], "testPortes");
|
||||
//$function = array($hooks["testPortes"], "testPortes");
|
||||
//setRecurrentEvent("alerte_intrusion", $function, "", "", 0, -1, "", "", false, 21);
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user