mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Before importing activity csv from lotw empty the table
This commit is contained in:
@@ -301,6 +301,8 @@ class Lotw extends CI_Controller {
|
||||
set_time_limit(0);
|
||||
$this->load->model('lotw_user');
|
||||
|
||||
$this->lotw_user->empty_table();
|
||||
|
||||
$row = 1;
|
||||
if (($handle = fopen("https://lotw.arrl.org/lotw-user-activity.csv", "r")) !== FALSE) {
|
||||
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
|
||||
|
||||
Reference in New Issue
Block a user