From f037de014ec18158458b3f4670069a8ac6449466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 28 May 2023 15:54:54 +0200 Subject: [PATCH] Revert "fix the case when relation is set to null" This reverts commit 25548176bbd12318097a09300380ab9d44299cc3. --- src/PersistentData/PersistentDataManager.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/PersistentData/PersistentDataManager.php b/src/PersistentData/PersistentDataManager.php index 404a0ee..6547782 100644 --- a/src/PersistentData/PersistentDataManager.php +++ b/src/PersistentData/PersistentDataManager.php @@ -305,8 +305,6 @@ class PersistentDataManager implements IPersistentDataManager if ($relationModel !== null) { $model->$methodSet($relationModel->getId()); - } else { - $model->$methodSet(null); } } } -- 2.45.2