diff --git a/activitypub.php b/activitypub.php index 8ca78f8a..8f665fcb 100644 --- a/activitypub.php +++ b/activitypub.php @@ -151,17 +151,6 @@ add_action( 0 ); -add_action( - 'plugins_loaded', - function() { - if ( defined( 'WP_SWEEP_VERSION' ) ) { - require_once \dirname( __FILE__ ) . '/integration/class-wp-sweep.php'; - Integration\Wp_Sweep::init(); - } - }, - 0 -); - /** * `get_plugin_data` wrapper * diff --git a/integration/class-wp-sweep.php b/integration/class-wp-sweep.php deleted file mode 100644 index 730edba6..00000000 --- a/integration/class-wp-sweep.php +++ /dev/null @@ -1,50 +0,0 @@ - 'ids' ) ); - - $excluded_term_ids = array_merge( $excluded_term_ids, $followers ); - - return array_unique( $excluded_term_ids ); - } -}