[xml_cdr] LOSE_RACE handled in wrong place (#6433)

LOSE_RACE is already being handled later `if (permission_exists('xml_cdr_lose_race'))`
This commit is contained in:
agree
2022-06-25 14:04:44 -04:00
committed by GitHub
parent f907619679
commit b7e7d27c79

View File

@@ -154,7 +154,6 @@
}
if ($missed == true) {
$sql_where_ands[] = "missed_call = true ";
$sql_where_ands[] = "and hangup_cause <> 'LOSE_RACE' ";
}
if (strlen($start_epoch) > 0 && strlen($stop_epoch) > 0) {
$sql_where_ands[] = "start_epoch between :start_epoch and :stop_epoch";