[TASK] Use constants

Change-Id: Ib63df9f77ec9ba7493b59bb75404233c6666a4e1
Resolves: #59722
Reviewed-on: http://review.typo3.org/30930
Reviewed-by: Ivan Dharma Kartolo <ivan.kartolo@gmail.com>
Tested-by: Ivan Dharma Kartolo <ivan.kartolo@gmail.com>