Updates ITU zone in dxcc_entities after Club Log update

This commit is contained in:
Andreas Kristiansen
2024-09-11 11:21:30 +02:00
parent b1ff0489dd
commit e0418a4700
3 changed files with 417 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ class Update extends CI_Controller {
* Load the dxcc prefixes
*/
public function dxcc_prefixes() {
// Load the cty file
if(!$this->load->is_loaded('Paths')) {
$this->load->library('Paths');
@@ -225,6 +225,10 @@ class Update extends CI_Controller {
$this->dxcc_entities();
$this->dxcc_exceptions();
$this->dxcc_prefixes();
$sql = "update dxcc_entities
join dxcc_temp on dxcc_entities.adif = dxcc_temp.adif
set dxcc_entities.ituz = dxcc_temp.ituz;";
$this->db->query($sql);
$this->db->trans_complete();
$this->update_status(__("DONE"));
@@ -339,7 +343,7 @@ class Update extends CI_Controller {
$this->load->model('Update_model');
$result = $this->Update_model->dok();
echo $result;
}
/*
@@ -350,7 +354,7 @@ class Update extends CI_Controller {
$this->load->model('Update_model');
$result = $this->Update_model->sota();
echo $result;
}
/*
@@ -369,7 +373,7 @@ class Update extends CI_Controller {
$this->load->model('Update_model');
$result = $this->Update_model->pota();
echo $result;
}
public function update_tle() {