Skip to content

Commit

Permalink
Remove unused code left after #34111
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Nov 17, 2023
1 parent 0b278f5 commit ca45999
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
27 changes: 0 additions & 27 deletions projects/packages/publicize/src/class-publicize-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -1837,33 +1837,6 @@ public function get_supported_additional_connections() {
return $additional_connections;
}

/**
* Check if Instagram connection is enabled.
*
* @return bool
*/
public function has_instagram_connection_feature() {
return Current_Plan::supports( 'social-instagram-connection' );
}

/**
* Check if Mastodon connection is enabled.
*
* @return bool
*/
public function has_mastodon_connection_feature() {
return Current_Plan::supports( 'social-mastodon-connection' );
}

/**
* Check if Nextdoor connection is enabled.
*
* @return bool
*/
public function has_nextdoor_connection_feature() {
return Current_Plan::supports( 'social-nextdoor-connection' );
}

/**
* Call the WPCOM REST API to calculate the scheduled shares.
*
Expand Down
1 change: 0 additions & 1 deletion projects/plugins/social/src/class-jetpack-social.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ class_exists( 'Jetpack' ) ||
'image' => $auto_conversion_settings->is_enabled( 'image' ),
),
'dismissedNotices' => $publicize->get_dismissed_notices(),
'isNextdoorConnectionSupported' => $publicize->has_nextdoor_connection_feature(),
'supportedAdditionalConnections' => $publicize->get_supported_additional_connections(),
),
)
Expand Down

0 comments on commit ca45999

Please sign in to comment.