Update Clublog.php

这个提交包含在:
Peter Goodhall 2019-06-19 18:03:48 +01:00
父节点 f2277f5d57
当前提交 d16874e1b4

查看文件

@ -84,10 +84,8 @@ class Clublog extends CI_Controller {
} }
curl_close ($request); curl_close ($request);
$check = strpos($response, 'accepted');
// If Clublog Accepts mark the QSOs // If Clublog Accepts mark the QSOs
if ($check !== false) { if (preg_match('/\baccepted\b/', $response)) {
$this->clublog_model->mark_qsos_sent(); $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";
@ -100,6 +98,10 @@ class Clublog extends CI_Controller {
} }
} }
function markqso() {
$this->clublog_model->mark_qsos_sent();
}
} }