| @@ -37,9 +37,9 @@ | ||
| 37 | 37 | public function import() { |
| 38 | 38 | try { |
| 39 | 39 | $results = null; |
| 40 | 40 | switch ( $this->plugin ) { |
| 41 | - case 'fluent-forms' && is_plugin_active( 'fluentform/fluentform.php' ) && class_exists( File::class ) && class_exists( TransferService::class ): | |
| 41 | + case 'fluent-forms' && is_plugin_active( 'fluentform/fluentform.php' ) : | |
| 42 | 42 | $fileObject = new File( $this->file, '' ); |
| 43 | 43 | $importer = new TransferService(); |
| 44 | 44 | $inserted = $importer->importForms( $fileObject ); |
| 45 | 45 | $results = key( $inserted['inserted_forms'] ); |