More functions
这个提交包含在:
父节点
ef2dfde183
当前提交
76107c72d4
共有 2 个文件被更改,包括 4 次插入 和 2 次删除
|
|
@ -87,9 +87,10 @@ class Clublog extends CI_Controller {
|
||||||
|
|
||||||
// If Clublog Accepts mark the QSOs
|
// If Clublog Accepts mark the QSOs
|
||||||
if (preg_match('/\baccepted\b/', $response)) {
|
if (preg_match('/\baccepted\b/', $response)) {
|
||||||
$this->clublog_model->mark_qsos_sent();
|
|
||||||
|
|
||||||
echo "QSOs uploaded and Logbook QSOs marked as sent to Clublog";
|
echo "QSOs uploaded and Logbook QSOs marked as sent to Clublog";
|
||||||
|
|
||||||
|
$this->load->model('clublog_model');
|
||||||
|
$this->clublog_model->mark_qsos_sent();
|
||||||
} else {
|
} else {
|
||||||
echo $catch_error;
|
echo $catch_error;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ class Clublog_model extends CI_Model {
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->db->where("COL_CLUBLOG_QSO_UPLOAD_STATUS", null);
|
$this->db->where("COL_CLUBLOG_QSO_UPLOAD_STATUS", null);
|
||||||
|
$this->db->or_where("COL_CLUBLOG_QSO_UPLOAD_STATUS", "");
|
||||||
$this->db->or_where("COL_CLUBLOG_QSO_UPLOAD_STATUS", "N");
|
$this->db->or_where("COL_CLUBLOG_QSO_UPLOAD_STATUS", "N");
|
||||||
$this->db->update($this->config->item('table_name'), $data);
|
$this->db->update($this->config->item('table_name'), $data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用