Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
chore: removed DataService and use one in common
Browse files Browse the repository at this point in the history
  • Loading branch information
jerotire committed Feb 7, 2024
1 parent 17ff486 commit 12898f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 57 deletions.
6 changes: 2 additions & 4 deletions module/Olcs/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Common\Data\Object\Search\Publication;
use Common\Data\Object\Search\User;
use Common\Data\Object\Search\Vehicle;
use Common\Form\Elements\Validators\TableRequiredValidator;
use Common\Service\Data as CommonDataService;
use Laminas\Cache\Service\StorageCacheAbstractServiceFactory;
use Olcs\Auth;
Expand Down Expand Up @@ -42,6 +41,7 @@
use Olcs\Controller\Factory\SearchControllerFactory;
use Olcs\Controller\Factory\SplitScreenControllerFactory;
use Olcs\Controller\Factory\TaskControllerFactory;
use Olcs\Controller\Factory\TransportManager as TransportManagerControllerFactories;
use Olcs\Controller\Factory\TransportManager\Details\TransportManagerDetailsPreviousHistoryControllerFactory;
use Olcs\Controller\Factory\TransportManager\Processing\TransportManagerProcessingTaskControllerFactory;
use Olcs\Controller\Factory\TransportManager\TransportManagerDocumentControllerFactory;
Expand Down Expand Up @@ -81,6 +81,7 @@
use Olcs\Controller\Sla\LicenceDocumentSlaTargetDateController;
use Olcs\Controller\TaskController;
use Olcs\Controller\TransportManager as TmCntr;
use Olcs\Controller\TransportManager as TransportManagerControllers;
use Olcs\Controller\TransportManager\Details\TransportManagerDetailsDetailController;
use Olcs\Controller\TransportManager\Details\TransportManagerDetailsDetailControllerFactory;
use Olcs\Controller\TransportManager\Details\TransportManagerDetailsPreviousHistoryController;
Expand Down Expand Up @@ -124,8 +125,6 @@
use Olcs\View\Helper\SlaIndicator;
use Olcs\View\Helper\SubmissionSectionMultipleTablesFactory;
use Olcs\View\Helper\SubmissionSectionTableFactory;
use Olcs\Controller\TransportManager as TransportManagerControllers;
use Olcs\Controller\Factory\TransportManager as TransportManagerControllerFactories;

return array(
'router' => [
Expand Down Expand Up @@ -919,7 +918,6 @@
DataService\PublicInquiryDefinition::class => DataService\AbstractPublicInquiryDataFactory::class,
DataService\PublicInquiryReason::class => DataService\AbstractPublicInquiryDataFactory::class,
DataService\SubmissionLegislation::class => DataService\AbstractPublicInquiryDataFactory::class,
DataService\MessagingSubject::class => CommonDataService\AbstractListDataServiceFactory::class,
]
],
'form_service_manager' => [
Expand Down
2 changes: 1 addition & 1 deletion module/Olcs/src/Form/Model/Fieldset/Conversation.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Conversation
* @Form\Attributes({"id":"subject","placeholder":""})
* @Form\Options({
* "label": "messaging.create-conversation.subject",
* "service_name": "Olcs\Service\Data\MessagingSubject",
* "service_name": Common\Service\Data\MessagingSubject::class,
* "empty_option": "Please Select"
* })
* @Form\Type("DynamicSelect")
Expand Down
52 changes: 0 additions & 52 deletions module/Olcs/src/Service/Data/MessagingSubject.php

This file was deleted.

0 comments on commit 12898f1

Please sign in to comment.