mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
254f7f3f2a
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.
21 lines
358 B
PHP
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);
|
|
}
|
|
|
|
}
|
|
|
|
?>
|