Add option to update distance information for all QSOs

This commit is contained in:
phl0
2024-08-17 22:39:33 +02:00
parent 9397da5b90
commit 00b0666ff4
3 changed files with 10 additions and 5 deletions

View File

@@ -289,7 +289,7 @@ class Update extends CI_Controller {
$this->logbook_model->check_missing_continent();
}
public function update_distances() {
public function update_distances($all = false) {
$this->load->model('user_model');
if (!$this->user_model->authorize(99)) {
$this->session->set_flashdata('error', __("You're not allowed to do that!"));
@@ -297,7 +297,7 @@ class Update extends CI_Controller {
}
$this->load->model('logbook_model');
$this->logbook_model->update_distances();
$this->logbook_model->update_distances($all);
}
public function check_missing_grid($all = false){