Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20834

ObjectStateService::setContentState() second argument is not necessary, plus business logic is located in storage

    XMLWordPrintable

Details

    Description

      ObjectStateService::setContentState( ContentInfo $contentInfo, APIObjectStateGroup $objectStateGroup, APIObjectState $objectState );

      Second argument is superfluous as $objectState already contains group information.

      Proposed: lose second argument.

      Attachments

        Activity

          People

            Unassigned Unassigned
            petar.spanja-obsolete@ez.no Petar Spanja (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: