Revert "removes deprecated function"

This reverts commit b34b59dfb5a0592302fb63670ddb4b62a1fae1b0.
Revert "Upgraded to support typo3 6.2"

This reverts commit a0e5b1fc67dde389748227b8888cb3732d668cf1.