Cloudlog/application/models/Eqslmethods_model.php
Peter Goodhall 254f7f3f2a [eQSL] Added Tools this allows you to mark all QSOs as sent to eQSL if manually uploaded
Thanks to M0TAZ for requesting this option, if you have lots of QSOs on a fresh install, use this function to mark all QSOs as uploaded to eQSL when you manually upload ADIF to eQSL.
2020-11-03 16:06:35 +00:00

21 lines
358 B
PHP

<?php
class Eqslmethods_model extends CI_Model {
function __construct()
{
parent::__construct();
}
function mark_all_as_sent() {
$data = array(
'COL_EQSL_QSL_SENT' => 'Y',
'COL_EQSL_QSLSDATE' => date('Y-m-d')." 00:00:00",
);
$this->db->replace($this->config->item('table_name'), $data);
}
}
?>