mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Remove createdAt
This commit is contained in:
parent
68328c8b5c
commit
b6251f0ef2
|
|
@ -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,
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user