Update TrashCan.php
remove duplicate call of $page->forceDelete();
This commit is contained in:
parent
70bfebcd7c
commit
8c6b116472
1 changed files with 0 additions and 2 deletions
|
@ -206,8 +206,6 @@ class TrashCan
|
|||
Book::query()->where('default_template_id', '=', $page->id)
|
||||
->update(['default_template_id' => null]);
|
||||
|
||||
$page->forceDelete();
|
||||
|
||||
// Remove chapter template usages
|
||||
Chapter::query()->where('default_template_id', '=', $page->id)
|
||||
->update(['default_template_id' => null]);
|
||||
|
|
Loading…
Reference in a new issue