It's enough to check if the comment exists on the specified post, if it doesn't exist at all, that check will also fail. Also do that check directly on SQL level and just check if the comment exist instead of looping through all comments. |
||
|---|---|---|
| .. | ||
| openid_connect | ||
| v1 | ||