Commit 02460b3f authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch '43-fix-membership-import' into 'main'

Resolve "Fix membership import"

Closes #43

See merge request !14
parents bc2dd03d 61f3d613
Pipeline #13366 passed with stage
in 1 minute and 35 seconds
...@@ -78,7 +78,7 @@ class ImportMembersCommand extends \Symfony\Component\Console\Command\Command ...@@ -78,7 +78,7 @@ class ImportMembersCommand extends \Symfony\Component\Console\Command\Command
if (!file_exists($importFile)) { if (!file_exists($importFile)) {
$logger->debug('No importfile', ['filename' => $importFile]); $logger->debug('No importfile', ['filename' => $importFile]);
$io->writeln('No importfile found');
return; return;
} }
...@@ -156,7 +156,7 @@ class ImportMembersCommand extends \Symfony\Component\Console\Command\Command ...@@ -156,7 +156,7 @@ class ImportMembersCommand extends \Symfony\Component\Console\Command\Command
public function getImportFile(InputInterface $input): string public function getImportFile(InputInterface $input): string
{ {
$dropbox = new Dropbox($input->getArgument('dropboxToken')); $dropbox = new Dropbox($input->getArgument('dropboxToken'));
$dropbox->files->download('/TYPO3 Backoffice/Member-Lists/memberlist.txt', $input->getArgument('importFile')); $dropbox->files->download('/Member-Lists/memberlist.txt', $input->getArgument('importFile'));
return $input->getArgument('importFile'); return $input->getArgument('importFile');
} }
......
...@@ -27,7 +27,7 @@ $EM_CONF['t3o_membership'] = [ ...@@ -27,7 +27,7 @@ $EM_CONF['t3o_membership'] = [
'modify_tables' => '', 'modify_tables' => '',
'clearCacheOnLoad' => 0, 'clearCacheOnLoad' => 0,
'lockType' => '', 'lockType' => '',
'version' => '3.0.6', 'version' => '3.0.7',
'constraints' => [ 'constraints' => [
'depends' => [ 'depends' => [
'typo3' => '10.4.0' 'typo3' => '10.4.0'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment