[CLEANUP] Streamline Avatar-related code in EXT:backend 08/51908/4
authorBenni Mack <benni@typo3.org>
Tue, 28 Feb 2017 19:54:22 +0000 (20:54 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 3 Mar 2017 07:58:51 +0000 (08:58 +0100)
commit394a49d69e3c4438dc4d0069acb622d42e5f87c6
treee08b63744ff553e4800afb9623515a2e00d45f33
parent0f21eaad1a937cf1b303ea2d4d0f0a16f565c228
[CLEANUP] Streamline Avatar-related code in EXT:backend

- Add proper comments to all PHP code, remove all unnecessary
comments (e.g. "get height" for getHeight() method).
- Move Icon functionality to ViewHelpers instead of doing everything
in PHP.

Resolves: #80066
Releases: master
Change-Id: I5c814824f57112e9603f5994e051f7eb6dd85e45
Reviewed-on: https://review.typo3.org/51908
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Backend/Avatar/Avatar.php
typo3/sysext/backend/Classes/Backend/Avatar/AvatarProviderInterface.php
typo3/sysext/backend/Classes/Backend/Avatar/DefaultAvatarProvider.php
typo3/sysext/backend/Classes/Backend/Avatar/Image.php
typo3/sysext/backend/Classes/ViewHelpers/AvatarViewHelper.php
typo3/sysext/backend/Resources/Private/Templates/Avatar/Main.html