Skip to content

Commit

Permalink
fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwiebe committed Jan 22, 2025
1 parent 2caab9b commit f9a51cf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions includes/scheduler/class-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,10 @@ public static function transition_attachment_status( $post_id ) {
break;
case 'delete_attachment':
self::schedule_post_activity( 'trash', '', $post_id );
break;
}
);
break;
}

\add_action( 'post_activitypub_add_to_outbox', array( self::class, 'send_announces' ), 10, 4 );
}
}

/**
Expand Down

0 comments on commit f9a51cf

Please sign in to comment.