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
02460b3f
Commit
02460b3f
authored
May 15, 2021
by
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
Changes
2
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Classes/Command/ImportMembersCommand.php
View file @
02460b3f
...
...
@@ -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'
);
}
...
...
ext_emconf.php
View file @
02460b3f
...
...
@@ -27,7 +27,7 @@ $EM_CONF['t3o_membership'] = [
'modify_tables'
=>
''
,
'clearCacheOnLoad'
=>
0
,
'lockType'
=>
''
,
'version'
=>
'3.0.
6
'
,
'version'
=>
'3.0.
7
'
,
'constraints'
=>
[
'depends'
=>
[
'typo3'
=>
'10.4.0'
...
...
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