Skip to content

Commit

Permalink
[TASK] Remove legacy support for Tx_ prefixed class style
Browse files Browse the repository at this point in the history
This class naming style has not been supported since 7.6 LTS compatible versions were released. Vendor-less controller classes are still supported; another patch may remove this support (and mark vendor usage as the only supported usage across the extension).
  • Loading branch information
NamelessCoder committed Aug 5, 2016
1 parent 3039f50 commit c54946a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Classes/Helper/Resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ private static function buildControllerClassNameFromExtensionKeyAndControllerTyp
} else {
$extensionName = ExtensionNamingUtility::getExtensionName($extensionKey);
$potentialClassName = $extensionName . '\\Controller\\' . $controllerName . 'Controller';
// @TODO remove legacy
if (false === class_exists($potentialClassName)) {
$potentialClassName = 'Tx_' . $extensionName . '_Controller_' . $controllerName . 'Controller';
}
}
return $potentialClassName;
}
Expand Down

0 comments on commit c54946a

Please sign in to comment.