Skip to content
Snippets Groups Projects
Commit 77253e40 authored by Oliver Klee's avatar Oliver Klee Committed by Stefan Bürk
Browse files

[TASK] Simplify a condition in the workspaces DataHandlerHook

a || (b && !a)

can be simplified to

a || b

(because the second sub-condition is only evaluated if a is false).

Resolves: #97421
Releases: main, 11.5
Change-Id: I04d62fd46736bb4a0b9dfce54851aaa8f99d20e1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74468


Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent d77c9660
Branches
Tags
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