Unmark unsupported LoTW uploads for INTERNET and RPT QSOs

This commit is contained in:
phl0
2024-07-12 08:48:42 +02:00
parent 3a5f18beb1
commit 14b67ce720
2 changed files with 18 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
*/
$config['migration_version'] = 208;
$config['migration_version'] = 209;
/*
|--------------------------------------------------------------------------

View File

@@ -0,0 +1,17 @@
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Migration_unmark_unsupported_lotw_uploads extends CI_Migration
{
public function up() {
// Missing in tqsl 2.7.3 config.xml
$lotw_unsupported_modes = array('INTERNET', 'RPT');
$this->db->where_in('COL_PROP_MODE', $lotw_unsupported_modes);
$this->db->update($this->config->item('table_name'), array('COL_LOTW_QSLSDATE' => null, 'COL_LOTW_QSL_SENT' => 'N'));
}
public function down() {
}
}