Skip to content

Commit

Permalink
Item Model - delete backlinks fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Pardon committed Apr 27, 2020
1 parent 0cd8008 commit b7651e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/Models/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static function boot()
$item->content()->delete();
}
$item->links()->sync(array());
$item->backLinks()->sync(array());
});
}

Expand Down

0 comments on commit b7651e7

Please sign in to comment.