mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added button for updating TLE's from satellite page
This commit is contained in:
@@ -465,7 +465,7 @@ class Update extends CI_Controller {
|
||||
}
|
||||
}
|
||||
|
||||
public function update_tle() {
|
||||
public function update_tle($returnpath = 'debug') {
|
||||
$this->load->model('Update_model');
|
||||
$result = $this->Update_model->tle();
|
||||
if($this->session->userdata('user_type') == '99') {
|
||||
@@ -474,7 +474,7 @@ class Update extends CI_Controller {
|
||||
} else {
|
||||
$this->session->set_flashdata('error', __("TLE Update failed. Result: ") . "'" . $result . "'");
|
||||
}
|
||||
redirect('debug');
|
||||
redirect($returnpath);
|
||||
} else {
|
||||
echo $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user