code beautifying
This commit is contained in:
parent
84f7066820
commit
77893ce5a9
1 changed files with 13 additions and 17 deletions
|
@ -260,9 +260,6 @@ function getLastHeard($logLines) {
|
|||
|
||||
function getActualMode($metaLastHeard, $mmdvmconfigs) {
|
||||
// returns mode of repeater actual working in
|
||||
//$lastHeard = $metaLastHeard;
|
||||
//array_multisort($lastHeard,SORT_DESC);
|
||||
//$listElem = $lastHeard[0];
|
||||
$listElem = $metaLastHeard[0];
|
||||
$timestamp = new DateTime($listElem[0]);
|
||||
$mode = $listElem[1];
|
||||
|
@ -342,7 +339,6 @@ function getActualLink($logLines, $mode) {
|
|||
//M: 2016-05-02 07:04:10.504 D-Star link status set to "Verlinkt zu DCS002 S"
|
||||
//M: 2016-04-03 16:16:18.638 DMR Slot 2, received network voice header from 4000 to 2625094
|
||||
//M: 2016-04-03 19:30:03.099 DMR Slot 2, received network voice header from 4020 to 2625094
|
||||
//array_multisort($logLines,SORT_DESC);
|
||||
switch ($mode) {
|
||||
case "D-Star":
|
||||
if (isProcessRunning(IRCDDBGATEWAY)) {
|
||||
|
|
Loading…
Reference in a new issue