[TASK] Add missing logDeprecatedFunction() to getAliasForClassName() 72/27172/4
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 9 Mar 2014 18:20:43 +0000 (19:20 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sun, 9 Mar 2014 20:24:30 +0000 (21:24 +0100)
Function is already deprecated but didn't write to
deprecation-log so far.

Resolves: #55481
Releases: 6.2
Change-Id: I5b8150e7b2d7be8fdc87a3a4a93932a04cb2cb09
Reviewed-on: https://review.typo3.org/27172
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/core/Classes/Core/ClassLoader.php

index 9005d77..fdbe016 100644 (file)
@@ -611,6 +611,7 @@ class ClassLoader {
         * @return mixed
         */
        static public function getAliasForClassName($className) {
+               GeneralUtility::logDeprecatedFunction();
                $aliases = static::$staticAliasMap->getAliasesForClassName($className);
                return is_array($aliases) && isset($aliases[0]) ? $aliases[0] : NULL;
        }