Skip to content

Commit

Permalink
[TASK] Clarify replacement for TSFE->storeSessionData()
Browse files Browse the repository at this point in the history
Releases: master
Related: #85878
Resolves: #91248
Change-Id: I8eb19a7e7f2ac4527beb9befafc6b16cf79e99cd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64372
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Alexander Schnitzler <git@alexanderschnitzler.de>
Tested-by: Benjamin Franzke <bfr@qbus.de>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Alexander Schnitzler <git@alexanderschnitzler.de>
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
  • Loading branch information
Mathias Brodala authored and bnf committed May 8, 2020
1 parent 02856fc commit e995640
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Migration

As all functionality has been set up via PSR-15 middlewares, use a PSR-15 middleware instead.

The method :php:`storeSessionData()` should be replaced with :php:`TSFE->fe_user->storeSessionData()`.

The methods :php:`addTempContentHttpHeaders()` and :php:`sendCacheHeaders()` are now incorporated
within :php:`TSFE->processOutput()`. This function should be used, or rather add custom headers
to a PSR-15 Response object if available.
Expand Down

0 comments on commit e995640

Please sign in to comment.