Skip to content

Commit 8cd8057

Browse files
committed
fix: Remove unnecessary cache invalidation in NestedSetsBehavior class during root node operation.
1 parent f86e4d9 commit 8cd8057

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/NestedSetsBehavior.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ public function afterUpdate(): void
259259

260260
if ($this->operation === self::OPERATION_MAKE_ROOT) {
261261
$this->moveNodeAsRoot($currentOwnerTreeValue);
262-
$this->invalidateCache();
263262
}
264263

265264
if ($this->node === null) {

0 commit comments

Comments
 (0)