mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Delete oqrs line removes from QSL queue
This commit is contained in:
@@ -192,6 +192,14 @@ class Oqrs_model extends CI_Model {
|
||||
}
|
||||
|
||||
function delete_oqrs_line($id) {
|
||||
$sql = 'update ' . $this->config->item('table_name') . ' set COL_QSL_SENT = "N", COL_QSLSDATE = "", COL_QSL_SENT_VIA = ""
|
||||
where COL_PRIMARY_KEY = (select oqrs.qsoid from oqrs join station_profile on station_profile.station_id = oqrs.station_id where oqrs.id = ? and station_profile.user_id = ?)';
|
||||
$binding = [$id, $this->session->userdata('user_id')];
|
||||
|
||||
$this->db->query($sql, $binding);
|
||||
|
||||
$binding = [];
|
||||
|
||||
$binding = [$id, $this->session->userdata('user_id')];
|
||||
|
||||
$sql = '
|
||||
|
||||
Reference in New Issue
Block a user