Only initialize YSF infos if YSFGateway is enabled
This commit is contained in:
parent
20d216e68b
commit
ec45cf264d
1 changed files with 6 additions and 4 deletions
|
@ -499,8 +499,10 @@ $logLinesMMDVM = getMMDVMLog();
|
||||||
$reverseLogLinesMMDVM = $logLinesMMDVM;
|
$reverseLogLinesMMDVM = $logLinesMMDVM;
|
||||||
array_multisort($reverseLogLinesMMDVM,SORT_DESC);
|
array_multisort($reverseLogLinesMMDVM,SORT_DESC);
|
||||||
$lastHeard = getLastHeard($reverseLogLinesMMDVM);
|
$lastHeard = getLastHeard($reverseLogLinesMMDVM);
|
||||||
$YSFGatewayconfigs = getYSFGatewayConfig();
|
if (defined("ENABLEYSFGATEWAY")) {
|
||||||
$logLinesYSFGateway = getYSFGatewayLog();
|
$YSFGatewayconfigs = getYSFGatewayConfig();
|
||||||
$reverseLogLinesYSFGateway = $logLinesYSFGateway;
|
$logLinesYSFGateway = getYSFGatewayLog();
|
||||||
array_multisort($reverseLogLinesYSFGateway,SORT_DESC);
|
$reverseLogLinesYSFGateway = $logLinesYSFGateway;
|
||||||
|
array_multisort($reverseLogLinesYSFGateway,SORT_DESC);
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue