From 993de40ec2936249036efd6f2ea6a2d1d32e2de1 Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 28 Aug 2025 13:32:49 +0000 Subject: [PATCH] Remove function for update_distances as well --- application/controllers/Update.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/application/controllers/Update.php b/application/controllers/Update.php index 6be38e426..7679c0ea1 100644 --- a/application/controllers/Update.php +++ b/application/controllers/Update.php @@ -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)) {