diff --git a/mailpoet/lib/EmailEditor/Engine/SettingsController.php b/mailpoet/lib/EmailEditor/Engine/SettingsController.php index aa2f4745a5..8bdf343a2b 100644 --- a/mailpoet/lib/EmailEditor/Engine/SettingsController.php +++ b/mailpoet/lib/EmailEditor/Engine/SettingsController.php @@ -38,8 +38,6 @@ class SettingsController { */ const FLEX_GAP = '16px'; - private string $availableStylesheets = ''; - private ThemeController $themeController; /** @@ -95,13 +93,6 @@ class SettingsController { ]; } - public function getAvailableStylesheets(): string { - if ($this->availableStylesheets) return $this->availableStylesheets; - $coreThemeData = \WP_Theme_JSON_Resolver::get_core_data(); - $this->availableStylesheets = $coreThemeData->get_stylesheet(); - return $this->availableStylesheets; - } - /** * @return array{width: string, background: string, padding: array{bottom: string, left: string, right: string, top: string}} */