kopia lustrzana https://github.com/magicbug/Cloudlog
More functions
rodzic
ef2dfde183
commit
76107c72d4
|
@ -87,9 +87,10 @@ class Clublog extends CI_Controller {
|
|||
|
||||
// If Clublog Accepts mark the QSOs
|
||||
if (preg_match('/\baccepted\b/', $response)) {
|
||||
$this->clublog_model->mark_qsos_sent();
|
||||
|
||||
echo "QSOs uploaded and Logbook QSOs marked as sent to Clublog";
|
||||
|
||||
$this->load->model('clublog_model');
|
||||
$this->clublog_model->mark_qsos_sent();
|
||||
} else {
|
||||
echo $catch_error;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ class Clublog_model extends CI_Model {
|
|||
);
|
||||
|
||||
$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->update($this->config->item('table_name'), $data);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue