Update Clublog.php

pull/302/head
Peter Goodhall 2019-06-19 18:03:48 +01:00
rodzic f2277f5d57
commit d16874e1b4
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

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