Commit 986da3e
committed
[TASK] Check for l10n overlays move only when necessary
When moving a sys_language_uid=0 record, existing localization
overlay records are usually moved as well. The patch optimizes
the code to not check for localization overlays if the moved
record is a localized record already. This can save another few
DB calls in DataHandler.
Resolves: #106523
Releases: main, 13.4
Change-Id: Iea877bfe39d0dc5631fa18b16267e5d084af9941
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/88681
Tested-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Benni Mack <benni@typo3.org>1 parent 7fa80c1 commit 986da3e
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4324 | 4324 | | |
4325 | 4325 | | |
4326 | 4326 | | |
| 4327 | + | |
| 4328 | + | |
| 4329 | + | |
| 4330 | + | |
4327 | 4331 | | |
4328 | 4332 | | |
4329 | 4333 | | |
| |||
4627 | 4631 | | |
4628 | 4632 | | |
4629 | 4633 | | |
4630 | | - | |
| 4634 | + | |
| 4635 | + | |
| 4636 | + | |
4631 | 4637 | | |
4632 | 4638 | | |
4633 | 4639 | | |
| |||
0 commit comments