[TASK] Deprecate "noWSOL" in PageRepository->getRecordRaw
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-81218-NoWSOLArgumentInPageRepository-getRawRecord.rst
1 .. include:: ../../Includes.txt
2
3 =====================================================================
4 Deprecation: #81218 - noWSOL argument in PageRepository->getRawRecord
5 =====================================================================
6
7 See :issue:`81218`
8
9 Description
10 ===========
11
12 The method `PageRepository->getRawRecord()` has a fourth parameter called php:`$noWSOL` which allowed
13 to disable the logic for getting the workspace-related record. This method argument was previously
14 only used internally within PageRepository, and using this argument left the functionality of this
15 method to only do a simple SQL statement, which can be implemented itself without using this API call.
16
17
18 Impact
19 ======
20
21 Calling PageRepository->getRawRecord() with a fourth parameter will trigger a deprecation log entry.
22
23
24 Affected Installations
25 ======================
26
27 Any TYPO3 instance with custom extensions that use this method with a fourth parameter explicitly.
28
29
30 Migration
31 =========
32
33 Remove the fourth parameter if set to false, if just a simple SQL call is needed, implement the SQL
34 call directly in your PHP code.
35
36 .. index:: Frontend, PHP-API