Skip to content
Snippets Groups Projects
Commit 8270fbef authored by Andreas Kienast's avatar Andreas Kienast
Browse files

[TASK] Streamline usage of `Persistent.loadFromServer()`

Previously, the internal method `loadFromServer()` from the module
`@typo3/backend/storage/persistent` fetched the data, wrote it into an
internal property `data` and also returned it. The code is now
simplified to only return the response.
Setting `data` is now done within the public `get()` method, which is
now also simplified a bit.

Resolves: #103886
Releases: main
Change-Id: I975a6ad0c2761afdadadfdc05dfa9c11a47779fa
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84374


Tested-by: default avatarAndreas Nedbal <andy@pixelde.su>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarFrank Nägler <frank.naegler@typo3.com>
Reviewed-by: default avatarMarvin Buchmann <marvin.buchmann@typo3.com>
Reviewed-by: default avatarWilli Wehmeier <wwwehmeier@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarFrank Nägler <frank.naegler@typo3.com>
Reviewed-by: default avatarAndreas Nedbal <andy@pixelde.su>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
parent db590bde
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment