Ignore:
Timestamp:
May 27, 2020, 8:04:56 PM (4 years ago)
Author:
chronos
Message:
  • Added: Allow to disable MeetSource in database.
  • Added: Show how many meet items were parsed and how many new added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Meet/Import/TanecniSkola.php

    r37 r57  
    55  function Import()
    66  {
    7     $Output = '';
     7    $Output = parent::Import();
    88    $HeightRange = array(
    99      '< 120 cm' => 120,
     
    2626      '200 cm <' => 205,
    2727    );
    28 
    29     $Output = parent::Import();
    3028    $Content = file_get_contents($this->URL);
    3129
     
    9290        $MeetItem->Database = $this->Database;
    9391        $MeetItem->Source = $this->Id;
    94         $this->AddedCount += $MeetItem->AddIfNotExist();
     92        $this->MeetItems[] = $MeetItem;
    9593      }
    9694    }
Note: See TracChangeset for help on using the changeset viewer.