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
e96ff9cb
Commit
e96ff9cb
authored
Jun 27, 2015
by
Thomas Löffler
Browse files
[BUGFIX] Fixes problem with file link
parent
b7662950
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Task/ImportMembersTask.php
View file @
e96ff9cb
...
...
@@ -29,11 +29,12 @@ class Tx_T3oMembership_Task_ImportMembersTask extends tx_scheduler_Task {
*/
public
function
execute
()
{
// does the import file exist?
if
(
!
file_exists
(
PATH_site
.
$this
->
getImportFile
()))
{
$importFile
=
t3lib_div
::
getFileAbsFileName
(
$this
->
getImportFile
());
if
(
!
file_exists
(
$importFile
))
{
return
FALSE
;
}
else
{
$this
->
getDatabaseConnection
()
->
exec_TRUNCATEquery
(
'tx_t3omembership_domain_model_member'
);
$fileData
=
file
(
PATH_site
.
$this
->
getI
mportFile
()
);
$fileData
=
file
(
$i
mportFile
);
foreach
(
$fileData
as
$key
=>
$line
)
{
if
(
$key
)
{
$fields
=
t3lib_div
::
trimExplode
(
"
\t
"
,
$line
);
...
...
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