Revert "fix the case when relation is set to null"
All checks were successful
soko-web/pipeline/pr-master This commit looks good

This reverts commit 25548176bb.
This commit is contained in:
Bence Pőcze 2023-05-28 15:54:54 +02:00
parent 8a1820275d
commit f037de014e
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -305,8 +305,6 @@ class PersistentDataManager implements IPersistentDataManager
if ($relationModel !== null) { if ($relationModel !== null) {
$model->$methodSet($relationModel->getId()); $model->$methodSet($relationModel->getId());
} else {
$model->$methodSet(null);
} }
} }
} }