Issue Task Closed

#56200Clean up duplicated code in calcAge

Tymoteusz Motylewski 02/21/14, 20:21 updated 01/06/15, 21:17

Description

both classes
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php

implement calcAge() method, which is almost exact copy.
We should refactor it by moving the method to some utility class.

Reviews 1