Remove createdAt

This commit is contained in:
Dennis Eichhorn 2017-09-06 15:14:17 +02:00
parent 68328c8b5c
commit b6251f0ef2

View File

@ -93,14 +93,6 @@ class Group implements ArrayableInterface, \JsonSerializable
*/
protected $createdAt = null;
/**
* Created by.
*
* @var int
* @since 1.0.0
*/
protected $createdBy = 0;
/**
* Constructor.
*
@ -108,7 +100,6 @@ class Group implements ArrayableInterface, \JsonSerializable
*/
public function __construct()
{
$this->createdAt = new \DateTime('now');
}
/**
@ -230,7 +221,6 @@ class Group implements ArrayableInterface, \JsonSerializable
'name' => $this->name,
'description' => $this->description,
'createdBy' => $this->createdBy,
'createdAt' => $this->createdAt->format('Y-m-d H:i:s'),
'permissions' => $this->permissions,
'members' => $this->members,
];