Review TYPO3_8-7 Merged

52854[BUGFIX] Remove doubled SQL query in PageRepository

Christian Kuhn CR +2 V +2 Easy +4 −25 updated 05/18/17, 15:00

Commit message

The method PageRepository->checkWorkspaceAccess() does a SQL query to fetch
the workspace record, then hands it over to BE_USER->checkWorkspace which has the
same functionality - to fetch the full workspace record.

As this is redundant code, the PageRepository code can be simplified a lot by just leaving
the workspaceCache property.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1