Commit cf551710 authored by Thomas Löffler's avatar 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
......@@ -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 FrontendUser
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;
}
}
......@@ -5,4 +5,5 @@ CREATE TABLE fe_users (
github VARCHAR (255),
twitter VARCHAR (255),
facebook VARCHAR (255),
terms_version
);
Supports Markdown
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