Skip to content

Commit

Permalink
[TASK] Remove unneccessary variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricziel committed Feb 20, 2015
1 parent 197576f commit fc968b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Classes/Utility/MiscellaneousUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public static function getIconForTemplate(Form $form) {
$templateName = pathinfo(array_pop($templatePathParts), PATHINFO_FILENAME);
$controllerName = array_pop($templatePathParts);

$positionOfResourceInTemplatePath = strpos($fullTemplatePathAndName, 'Resources/Private/Templates/');
$iconPathAndName = ExtensionManagementUtility::extPath($extensionKey, 'Resources/Public/Icons/' . $controllerName . '/' . $templateName);
foreach (self::$allowedIconTypes as $iconType) {
$potentialIcon = $iconPathAndName . '.' . $iconType;
Expand Down

0 comments on commit fc968b5

Please sign in to comment.