Removed the tree filter toggle
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_iconworks.php
index f121192..9ec2959 100755 (executable)
@@ -142,6 +142,7 @@ class t3lib_iconWorks       {
 
                        // First, find the icon file name. This can depend on configuration in TCA, field values and more:
                if ($table=='pages')    {
+                               // @TODO: RFC #7370: doktype 2&5 are deprecated since TYPO3 4.2-beta1
                        if ($row['nav_hide'] && ($row['doktype']==1||$row['doktype']==2))       $row['doktype']=5;      // Workaround to change the icon if "Hide in menu" was set
 
                        if (!$iconfile = $PAGES_TYPES[$row['doktype']]['icon']) {