mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Update Clublog.php
This commit is contained in:
@@ -63,19 +63,14 @@ class Clublog extends CI_Controller {
|
|||||||
curl_setopt($request, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($request, CURLOPT_RETURNTRANSFER, true);
|
||||||
echo curl_exec($request);
|
echo curl_exec($request);
|
||||||
|
|
||||||
$results = $request;
|
|
||||||
|
|
||||||
// close the session
|
// close the session
|
||||||
curl_close($request);
|
curl_close($request);
|
||||||
|
|
||||||
|
|
||||||
print_r($results);
|
|
||||||
// If Clublog Accepts mark the QSOs
|
// If Clublog Accepts mark the QSOs
|
||||||
if (strpos($results, 'accepted') !== false) {
|
$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";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user