summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Http/RequestHandlers/MapDataImportAction.php12
-rw-r--r--app/Module/ClippingsCartModule.php7
2 files changed, 1 insertions, 18 deletions
diff --git a/app/Http/RequestHandlers/MapDataImportAction.php b/app/Http/RequestHandlers/MapDataImportAction.php
index 59c9cfd1e3..0b184f235f 100644
--- a/app/Http/RequestHandlers/MapDataImportAction.php
+++ b/app/Http/RequestHandlers/MapDataImportAction.php
@@ -58,18 +58,6 @@ use const UPLOAD_ERR_OK;
*/
class MapDataImportAction implements RequestHandlerInterface
{
- private MapDataService $map_data_service;
-
- /**
- * MapDataImportAction constructor.
- *
- * @param MapDataService $map_data_service
- */
- public function __construct(MapDataService $map_data_service)
- {
- $this->map_data_service = $map_data_service;
- }
-
/**
* This function assumes the input file layout is
* level followed by a variable number of placename fields
diff --git a/app/Module/ClippingsCartModule.php b/app/Module/ClippingsCartModule.php
index e24fd1c66e..81b9b044a3 100644
--- a/app/Module/ClippingsCartModule.php
+++ b/app/Module/ClippingsCartModule.php
@@ -110,8 +110,6 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface
private GedcomExportService $gedcom_export_service;
- private UserService $user_service;
-
private ResponseFactoryInterface $response_factory;
private StreamFactoryInterface $stream_factory;
@@ -122,18 +120,15 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface
* @param GedcomExportService $gedcom_export_service
* @param ResponseFactoryInterface $response_factory
* @param StreamFactoryInterface $stream_factory
- * @param UserService $user_service
*/
public function __construct(
GedcomExportService $gedcom_export_service,
ResponseFactoryInterface $response_factory,
- StreamFactoryInterface $stream_factory,
- UserService $user_service
+ StreamFactoryInterface $stream_factory
) {
$this->gedcom_export_service = $gedcom_export_service;
$this->response_factory = $response_factory;
$this->stream_factory = $stream_factory;
- $this->user_service = $user_service;
}
/**