From b7651e7f16344596cd9a36ba591371cf6353e5ef Mon Sep 17 00:00:00 2001 From: Jonathan Pardon Date: Mon, 27 Apr 2020 11:52:48 +0200 Subject: [PATCH] Item Model - delete backlinks fix --- src/app/Models/Item.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/Models/Item.php b/src/app/Models/Item.php index fcc13c55..3e77cda7 100644 --- a/src/app/Models/Item.php +++ b/src/app/Models/Item.php @@ -29,6 +29,7 @@ public static function boot() $item->content()->delete(); } $item->links()->sync(array()); + $item->backLinks()->sync(array()); }); }