| @@ -14,15 +14,8 @@ | ||
| 14 | 14 | const PAGE_SLUG = 'xspeed'; |
| 15 | 15 | |
| 16 | 16 | const THEME_COOKIE = 'xspeed_theme'; |
| 17 | 17 | |
| 18 | - /** | |
| 19 | - * The dashboard's sidebar offer reads a module's `purchase_needed` before | |
| 20 | - * its `status_label`. An add-on checks for this constant before it labels | |
| 21 | - * a setup step, which an older dashboard would read as "still for sale". | |
| 22 | - */ | |
| 23 | - const OFFER_READS_PURCHASE_NEEDED = true; | |
| 24 | - | |
| 25 | 18 | public function __construct() { |
| 26 | 19 | add_action( 'admin_menu', array( $this, 'register_menu' ) ); |
| 27 | 20 | add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) ); |
| 28 | 21 | add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_menu_styles' ) ); |
| @@ -441,12 +434,8 @@ | ||
| 441 | 434 | // Pro), so Pro filters this via `xspeed_pro_state`. Default: |
| 442 | 435 | // not_installed when Pro is absent; 'active' when Pro is present |
| 443 | 436 | // (Pro downgrades to 'unlicensed' when its license isn't valid). |
| 444 | 437 | 'proState' => self::pro_state(), |
| 445 | - // The xCloud purge plugin is here: the site already has | |
| 446 | - // Cloudflare Enterprise from its host, so the dashboard does | |
| 447 | - // not offer the add-on. | |
| 448 | - 'xcloudPurgePlugin' => Managed_Edge_Purge::installed(), | |
| 449 | 438 | // Setup Wizard URL, surfaced in the sidebar profile popover. |
| 450 | 439 | 'wizardUrl' => admin_url( 'admin.php?page=' . Onboarding::PAGE_SLUG ), |
| 451 | 440 | 'bootstrap' => self::bootstrap_payload(), |
| 452 | 441 | ) |