mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Simplified update/insert new bandedge
This commit is contained in:
@@ -199,7 +199,7 @@ class Band extends CI_Controller {
|
||||
return;
|
||||
}
|
||||
|
||||
public function saveBandEdgeChanges() {
|
||||
public function saveBandEdge() {
|
||||
$this->load->model('bands');
|
||||
|
||||
$id = $this->security->xss_clean($this->input->post('id', true));
|
||||
@@ -207,7 +207,7 @@ class Band extends CI_Controller {
|
||||
$frequencyto = $this->security->xss_clean($this->input->post('frequencyto', true));
|
||||
$mode = $this->security->xss_clean($this->input->post('mode', true));
|
||||
|
||||
$this->bands->saveBandEdgeChanges($id, $frequencyfrom, $frequencyto, $mode);
|
||||
$this->bands->saveBandEdge($id, $frequencyfrom, $frequencyto, $mode);
|
||||
echo json_encode(array('message' => 'OK'));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user