mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Remove function for update_distances as well
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user