Skip to content

Commit 7443557

Browse files
committed
Updated docs
1 parent d2bcfe3 commit 7443557

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.markdown

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
This is a Laravel 4-5 package for working with trees in a database.
88

9-
* Laravel 5.2 is supported since v4
10-
* Laravel 5.1 is supported in v3
11-
* Laravel 4 is supported in v2
9+
* **Laravel 5.2** is supported since v4
10+
* **Laravel 5.1** is supported in v3
11+
* **Laravel 4** is supported in v2
1212

1313
__[Donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5TJUM7FYU5VR2)__
1414

@@ -279,7 +279,9 @@ To delete a node:
279279
$node->delete();
280280
```
281281

282-
Nodes are required to be deleted as models, **don't** try do delete them using a query like so:
282+
**IMPORTANT!** Any descendant that node has will also be deleted!
283+
284+
**IMPORTANT!** Nodes are required to be deleted as models, **don't** try do delete them using a query like so:
283285

284286
```php
285287
Category::where('id', '=', $id)->delete();

0 commit comments

Comments
 (0)