Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
t3o
my.typo3.org
Commits
cf551710
Commit
cf551710
authored
Jan 20, 2018
by
Thomas Löffler
Browse files
Correct extended user model and add terms_version
parent
75ea64c4
Pipeline
#3415
passed with stages
in 5 minutes and 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/t3omy/Classes/Domain/Model/MyProfile.php
View file @
cf551710
...
...
@@ -3,13 +3,10 @@ declare(strict_types=1);
namespace
T3o\T3omy\Domain\Model
;
use
TYPO3\CMS\Extbase\Domain\Model\FrontendUser
;
/**
* Class UserProfileRepository
*/
class
MyProfile
extends
Frontend
User
class
MyProfile
extends
\
In2code\Femanager\Domain\Model\
User
{
/**
* @var string
...
...
@@ -26,6 +23,11 @@ class MyProfile extends FrontendUser
*/
public
$facebook
=
''
;
/**
* @var string
*/
public
$termsVersion
=
''
;
/**
* @return string
...
...
@@ -75,4 +77,21 @@ class MyProfile extends FrontendUser
$this
->
facebook
=
$facebook
;
}
/**
* @return string
*/
public
function
getTermsVersion
()
{
return
$this
->
termsVersion
;
}
/**
* @param string $termsVersion
* @return void
*/
public
function
setTermsVersion
(
string
$termsVersion
)
{
$this
->
termsVersion
=
$termsVersion
;
}
}
html/typo3conf/ext/t3omy/ext_tables.sql
View file @
cf551710
...
...
@@ -5,4 +5,5 @@ CREATE TABLE fe_users (
github
VARCHAR
(
255
),
twitter
VARCHAR
(
255
),
facebook
VARCHAR
(
255
),
terms_version
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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