Skip to content

Commit

Permalink
fix: remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig committed Apr 23, 2024
1 parent bc13922 commit 1ddfabe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controller/ConfigDataObjectController.php
Expand Up @@ -662,10 +662,10 @@ public function uploadImportFileAction(Request $request, FilesystemOperator $pim
throw new Exception('The filename of the upload data is empty');
}

/*$target = $this->getImportFilePath($request->query->get('config_name'));
$target = $this->getImportFilePath($request->query->get('config_name'));
$pimcoreDataImporterUploadStorage->write($target, file_get_contents($sourcePath));

@unlink($sourcePath);*/
@unlink($sourcePath);

return new JsonResponse(['success' => true]);
} catch (Exception $e) {
Expand Down

0 comments on commit 1ddfabe

Please sign in to comment.