remove unneeded filter

This commit is contained in:
Django Doucet 2023-05-05 13:22:47 -06:00
parent 14f3c3985b
commit 656a2b0f44

View file

@ -18,7 +18,6 @@ class Inbox {
*/ */
public static function init() { public static function init() {
\add_action( 'rest_api_init', array( self::class, 'register_routes' ) ); \add_action( 'rest_api_init', array( self::class, 'register_routes' ) );
\add_filter( 'rest_pre_serve_request', array( self::class, 'serve_request' ), 11, 4 );
\add_action( 'activitypub_inbox_create', array( self::class, 'handle_create' ), 10, 2 ); \add_action( 'activitypub_inbox_create', array( self::class, 'handle_create' ), 10, 2 );
} }