| @@ -107,12 +107,8 @@ | ||
| 107 | 107 | $file_type = $this->get_param( 'platform', 'elementor' ); |
| 108 | 108 | $id = $this->get_param( 'id', 0, 'intval' ); |
| 109 | 109 | $workspace_id = $this->get_param( 'workspace_id', 0, 'intval' ); |
| 110 | 110 | |
| 111 | - if( $file_type === 'elementor' && ! class_exists('Elementor\TemplateLibrary\Source_Local') ) { | |
| 112 | - return $this->error( 'required_elementor', __("Missing required dependency Elementor, please install before trying again.", "templately"), 'clouds/upload', 400 ); | |
| 113 | - } | |
| 114 | - | |
| 115 | 111 | if( empty( $file_content ) ) { |
| 116 | 112 | /** |
| 117 | 113 | * @var Platform $platform |
| 118 | 114 | */ |