Merge pull request 'Revert "fix the case when relation is set to null"' (#23) from bugfix/fix-syncrelations into master
Reviewed-on: #23
This commit is contained in:
1 file changed
-2
@@ -305,8 +305,6 @@ class PersistentDataManager implements IPersistentDataManager
|
||||
|
||||
if ($relationModel !== null) {
|
||||
$model->$methodSet($relationModel->getId());
|
||||
} else {
|
||||
$model->$methodSet(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user