fixup! implement audit logger
This commit is contained in:
parent
19baea31c2
commit
484ac8a522
@ -151,6 +151,7 @@ class PersistentDataManager
|
|||||||
{
|
{
|
||||||
$modify = new Modify(\Container::$dbConnection, $model::getTable(), \Container::$auditLogger);
|
$modify = new Modify(\Container::$dbConnection, $model::getTable(), \Container::$auditLogger);
|
||||||
$modify->setId($model->getId());
|
$modify->setId($model->getId());
|
||||||
|
$modify->fill($model->toArray());
|
||||||
$modify->delete();
|
$modify->delete();
|
||||||
|
|
||||||
$model->setId(null);
|
$model->setId(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user