Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
t3o_membership
Commits
854a36ca
Commit
854a36ca
authored
May 14, 2021
by
Stefan Busemann
Browse files
[BUGFIX] Adjust source location of importfile
parent
bc2dd03d
Pipeline
#11532
passed with stage
in 1 minute and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Classes/Command/ImportMembersCommand.php
View file @
854a36ca
...
...
@@ -78,7 +78,7 @@ class ImportMembersCommand extends \Symfony\Component\Console\Command\Command
if
(
!
file_exists
(
$importFile
))
{
$logger
->
debug
(
'No importfile'
,
[
'filename'
=>
$importFile
]);
$io
->
writeln
(
'No importfile found'
);
return
;
}
...
...
@@ -156,7 +156,7 @@ class ImportMembersCommand extends \Symfony\Component\Console\Command\Command
public
function
getImportFile
(
InputInterface
$input
):
string
{
$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'
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment