Merge pull request 'Revert "fix the case when relation is set to null"' (#23) from bugfix/fix-syncrelations into master
All checks were successful
soko-web/pipeline/head This commit looks good

Reviewed-on: #23
This commit is contained in:
Bence Pőcze 2023-05-28 15:56:14 +02:00
commit bda12177eb
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

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