| @@ -1579,21 +1579,8 @@ | ||
| 1579 | 1579 | return false; |
| 1580 | 1580 | } |
| 1581 | 1581 | |
| 1582 | 1582 | /** |
| 1583 | - * Whether the site is still on the pre-2026 feature gating. | |
| 1584 | - * | |
| 1585 | - * @return bool | |
| 1586 | - */ | |
| 1587 | - public function is_legacy_gating_site() { | |
| 1588 | - if ( ! method_exists( 'WPCOM_Features', 'is_legacy_gating_site' ) ) { | |
| 1589 | - return false; | |
| 1590 | - } | |
| 1591 | - | |
| 1592 | - return (bool) WPCOM_Features::is_legacy_gating_site( $this->blog_id ); | |
| 1593 | - } | |
| 1594 | - | |
| 1595 | - /** | |
| 1596 | 1583 | * Get the option of site intent which value is coming from the Hero Flow |
| 1597 | 1584 | * |
| 1598 | 1585 | * @return string |
| 1599 | 1586 | */ |
| @@ -1892,16 +1879,6 @@ | ||
| 1892 | 1879 | */ |
| 1893 | 1880 | public function get_jetpack_recovery_mode_status() { |
| 1894 | 1881 | $status = get_option( 'jetpack_recovery_mode_status' ); |
| 1895 | 1882 | return is_array( $status ) ? $status : null; |
| 1896 | - } | |
| 1897 | - | |
| 1898 | - /** | |
| 1899 | - * Whether WordPress.com accounts must have two-step authentication to log in through SSO. | |
| 1900 | - * | |
| 1901 | - * @return bool | |
| 1902 | - */ | |
| 1903 | - public function get_jetpack_sso_require_two_step() { | |
| 1904 | - /** This filter is documented in projects/packages/connection/src/sso/class-helpers.php */ | |
| 1905 | - return (bool) apply_filters( 'jetpack_sso_require_two_step', get_option( 'jetpack_sso_require_two_step', false ) ); | |
| 1906 | 1883 | } |
| 1907 | 1884 | } |