mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +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;
|
protected $createdAt = null;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by.
|
|
||||||
*
|
|
||||||
* @var int
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
protected $createdBy = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
@ -108,7 +100,6 @@ class Group implements ArrayableInterface, \JsonSerializable
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->createdAt = new \DateTime('now');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -230,7 +221,6 @@ class Group implements ArrayableInterface, \JsonSerializable
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
'description' => $this->description,
|
'description' => $this->description,
|
||||||
'createdBy' => $this->createdBy,
|
'createdBy' => $this->createdBy,
|
||||||
'createdAt' => $this->createdAt->format('Y-m-d H:i:s'),
|
|
||||||
'permissions' => $this->permissions,
|
'permissions' => $this->permissions,
|
||||||
'members' => $this->members,
|
'members' => $this->members,
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user