remove redundant id check
This commit is contained in:
parent
7339a6419d
commit
641d250a06
1 changed files with 0 additions and 5 deletions
|
@ -352,11 +352,6 @@ class Inbox {
|
|||
|
||||
$meta = \Activitypub\get_remote_metadata_by_actor( $object['actor'] );
|
||||
|
||||
// Objects must have IDs
|
||||
if ( ! isset( $object['object']['id'] ) ) {
|
||||
\error_log( 'Comment provided without ID' );
|
||||
return;
|
||||
}
|
||||
$id = $object['object']['id'];
|
||||
|
||||
// Only handle replies
|
||||
|
|
Loading…
Reference in a new issue