Remove code to auto-create QSOs upon LoTW matches

pull/2276/head
phl0 2023-07-12 10:48:22 +02:00
rodzic 4ef2237ba4
commit 5c59e9eddc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48EA1E640798CA9A
2 zmienionych plików z 6 dodań i 20 usunięć

Wyświetl plik

@ -498,18 +498,8 @@ class Lotw extends CI_Controller {
}
$status = $this->logbook_model->import_check($time_on, $record['call'], $record['band'], $record['mode'], $record['station_callsign']);
$skipNewQso = $this->input->post('importMissing'); // If import missing was checked
if($status[0] == "No Match" && $skipNewQso != NULL) {
$result = $this->logbook_model->import($record, $station_id, NULL, TRUE, NULL, NULL, NULL, true, false); // Create the Entry
if ($result == "") {
$lotw_status = 'QSO imported';
} else {
$lotw_status = $result;
}
} else {
if($status[0] == "Found") {
if (isset($record['state'])) {
$state = $record['state'];
} else {
@ -561,7 +551,11 @@ class Lotw extends CI_Controller {
$table .= "<td>".$qsl_gridsquare."</td>";
$table .= "<td>".$iota."</td>";
$table .= "<td>QSO Record: ".$status[0]."</td>";
$table .= "<td>LoTW Record: ".$lotw_status."</td>";
if($status[0] == "Found") {
$table .= "<td>LoTW Record: ".$lotw_status."</td>";
} else {
$table .= "<td></td>";
}
$table .= "</tr>";
}

Wyświetl plik

@ -41,14 +41,6 @@
</div>
</div>
<br/>
<div class="form-group row" style="display: none">
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="importMissing" value="1" id="importMissing">
<label class="form-check-label" for="importMissing"><?php echo lang('lotw_import_missing_qsos_text'); ?></label>
</div>
</div>
</div>
<p class="form-text text-muted"><?php echo lang('lotw_report_download_overview_helptext'); ?></p>