mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 17:52:16 +00:00
When importing LOTW certs, consider full day for end date
This commit is contained in:
parent
38dee35937
commit
0c0e9219a3
@ -6,7 +6,7 @@ class LotwCert extends CI_Model {
|
||||
|--------------------------------------------------------------------------
|
||||
| Function: lotw_certs
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
|
|
||||
| Returns all lotw_certs for a selected user via the $user_id parameter
|
||||
|
|
||||
*/
|
||||
@ -17,7 +17,7 @@ class LotwCert extends CI_Model {
|
||||
$this->db->join('dxcc_entities','lotw_certs.cert_dxcc_id = dxcc_entities.adif','left');
|
||||
$this->db->order_by('cert_dxcc', 'ASC');
|
||||
$query = $this->db->get('lotw_certs');
|
||||
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ class LotwCert extends CI_Model {
|
||||
'date_created' => $date_created,
|
||||
'date_expires' => $date_expires,
|
||||
'qso_start_date' => $qso_start_date,
|
||||
'qso_end_date' => $qso_end_date,
|
||||
'qso_end_date' => $qso_end_date . ' 23:59:59',
|
||||
'cert_key' => $cert_key,
|
||||
'cert' => $general_cert,
|
||||
);
|
||||
@ -60,7 +60,7 @@ class LotwCert extends CI_Model {
|
||||
'date_created' => $date_created,
|
||||
'date_expires' => $date_expires,
|
||||
'qso_start_date' => $qso_start_date,
|
||||
'qso_end_date' => $qso_end_date,
|
||||
'qso_end_date' => $qso_end_date . ' 23:59:59',
|
||||
'cert_key' => $cert_key,
|
||||
'cert' => $general_cert
|
||||
);
|
||||
@ -90,9 +90,9 @@ class LotwCert extends CI_Model {
|
||||
|
||||
return "Updated";
|
||||
}
|
||||
|
||||
|
||||
function empty_table($table) {
|
||||
$this->db->empty_table($table);
|
||||
$this->db->empty_table($table);
|
||||
}
|
||||
|
||||
function lotw_cert_expired($user_id, $date) {
|
||||
|
Loading…
Reference in New Issue
Block a user