kopia lustrzana https://github.com/magicbug/Cloudlog
Update Clublog.php
rodzic
f2277f5d57
commit
d16874e1b4
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
}
|
Ładowanie…
Reference in New Issue