check double upload player event wip
This commit is contained in:
1 parent
9954f47139
commit
fd7b8fadad
7 files changed
+86
-91
No files matched your search
@@ -19,7 +19,7 @@ class StatistikoImporter
|
||||
|
||||
public static int $startQueries;
|
||||
|
||||
public static function run(object $record, string $importmode): void
|
||||
public static function run(object $record): void
|
||||
{
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', 1);
|
||||
@@ -33,16 +33,16 @@ class StatistikoImporter
|
||||
|
||||
switch ($record['data_type']) {
|
||||
case 'details':
|
||||
ImportDetails::run($filePath, $importmode);
|
||||
ImportDetails::run($filePath);
|
||||
break;
|
||||
case 'events':
|
||||
ImportEvents::run($filePath, $importmode);
|
||||
ImportEvents::run($filePath);
|
||||
break;
|
||||
case 'fixtures':
|
||||
ImportFixtures::run($filePath, $importmode);
|
||||
ImportFixtures::run($filePath);
|
||||
break;
|
||||
case 'player':
|
||||
ImportPlayer::run($filePath, $importmode);
|
||||
ImportPlayer::run($filePath);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user