| @@ -1,13 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Elementor\Core\Isolation; |
| 4 | 4 | |
| 5 | -use Elementor\Core\Common\Modules\Connect\Module as ConnectModule; | |
| 6 | 5 | use Elementor\Plugin; |
| 7 | 6 | use Elementor\Modules\ElementorCounter\Module as Elementor_Counter_Module; |
| 8 | 7 | use Elementor\TemplateLibrary\Source_Local; |
| 9 | -use Elementor\Utils; | |
| 10 | 8 | |
| 11 | 9 | class Elementor_Adapter implements Elementor_Adapter_Interface { |
| 12 | 10 | |
| 13 | 11 | public function get_kit_settings() { |
| @@ -17,9 +15,9 @@ | ||
| 17 | 15 | public function get_main_post() { |
| 18 | 16 | return Plugin::$instance->kits_manager->get_kit_for_frontend()->get_main_post(); |
| 19 | 17 | } |
| 20 | 18 | |
| 21 | - public function is_active_kit_default(): bool { | |
| 19 | + public function is_active_kit_default() : bool { | |
| 22 | 20 | $kit_id = Plugin::$instance->kits_manager->get_active_id(); |
| 23 | 21 | |
| 24 | 22 | if ( false === $kit_id || null === $kit_id ) { |
| 25 | 23 | return false; |
| @@ -45,10 +43,6 @@ | ||
| 45 | 43 | } |
| 46 | 44 | |
| 47 | 45 | public function get_template_type( $template_id ): string { |
| 48 | 46 | return Source_Local::get_template_type( $template_id ); |
| 49 | - } | |
| 50 | - | |
| 51 | - public function get_tier(): string { | |
| 52 | - return Utils::has_pro() ? ConnectModule::ACCESS_TIER_PRO_LEGACY : ConnectModule::ACCESS_TIER_FREE; | |
| 53 | 47 | } |
| 54 | 48 | } |