Skip to content

Commit

Permalink
【ブログ】記事の一括削除を行った際にアイキャッチが削除されない baserproject#3004
Browse files Browse the repository at this point in the history
  • Loading branch information
seto1 committed Jan 4, 2024
1 parent e1b9819 commit 07f4043
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/bc-blog/src/Service/BlogPostsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ public function unpublish(int $id)
public function delete(int $id): bool
{
$blogPost = $this->BlogPosts->get($id);
$this->setupUpload($blogPost->blog_content_id);
return $this->BlogPosts->delete($blogPost);
}

Expand Down

0 comments on commit 07f4043

Please sign in to comment.