Revert "fix the case when relation is set to null" #23

Merged
bence merged 1 commits from bugfix/fix-syncrelations into master 2023-05-28 15:56:14 +02:00

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