Skip to content

Commit adde608

Browse files
fix: Update license badge URL in README.md and add license header in LICENSE.md and kill infection mutant. (#85)
1 parent 0b6d60a commit adde608

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 0.1.1 Under development
44

5+
- Bug #85: Update license badge URL in `README.md` and add license header in `LICENSE.md` and kill infection mutant (@terabytesoftw)
6+
57
## 0.1.0 July 8, 2025
68

79
- Initial release

LICENSE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# BSD 3-Clause License
2+
13
Copyright © 2008 by Terabytesoftw (<https://github.com/terabytesoftw/>)
24
All rights reserved.
35

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ For detailed configuration options and advanced usage.
378378

379379
## License
380380

381-
[![License](https://poser.pugx.org/yii2-extensions/nested-sets-behavior/license)](LICENSE.md)
381+
[![License](https://img.shields.io/github/license/yii2-extensions/nested-sets-behavior)](LICENSE.md)
382382

383383
## Fork
384384

src/NestedSetsBehavior.php

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

260260
if ($this->operation === self::OPERATION_MAKE_ROOT) {
261261
$this->moveNodeAsRoot($currentOwnerTreeValue);
262-
$this->invalidateCache();
263-
264-
return;
265262
}
266263

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

0 commit comments

Comments
 (0)