fixup! implement audit logger

This commit is contained in:
Bence Pőcze 2023-04-17 02:25:53 +02:00
parent 19baea31c2
commit 484ac8a522
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -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);