1
0
This commit is contained in:
2022-09-02 17:59:33 +02:00
parent 0f9f3d5a98
commit e313205148
10 changed files with 82 additions and 30 deletions

View File

@ -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);
?>