Remove function for update_distances as well

This commit is contained in:
int2001
2025-08-28 13:32:49 +00:00
parent 446f4c7848
commit 993de40ec2

View File

@@ -334,17 +334,6 @@ class Update extends CI_Controller {
$this->logbook_model->check_missing_continent();
}
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!"));
redirect('dashboard');
}
$this->load->model('logbook_model');
$this->logbook_model->update_distances($all);
}
public function check_missing_grid($all = false){
$this->load->model('user_model');
if (!$this->user_model->authorize(99)) {