[CLEANUP] Remove deprecated filemount functions in BE_USER
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / Classes / Controller / ElementBrowserController.php
index 9863234..783d2fb 100644 (file)
@@ -132,12 +132,11 @@ class ElementBrowserController {
                        case 'filedrag':
                        case 'folder':
                                // Setting additional read-only browsing file mounts
                        case 'filedrag':
                        case 'folder':
                                // Setting additional read-only browsing file mounts
-                               // @todo: add this feature for FAL and TYPO3 6.0
                                $altMountPoints = trim($GLOBALS['BE_USER']->getTSConfigVal('options.folderTree.altElementBrowserMountPoints'));
                                if ($altMountPoints) {
                                        $altMountPoints = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $altMountPoints);
                                        foreach ($altMountPoints as $filePathRelativeToFileadmindir) {
                                $altMountPoints = trim($GLOBALS['BE_USER']->getTSConfigVal('options.folderTree.altElementBrowserMountPoints'));
                                if ($altMountPoints) {
                                        $altMountPoints = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $altMountPoints);
                                        foreach ($altMountPoints as $filePathRelativeToFileadmindir) {
-                                               $GLOBALS['BE_USER']->addFileMount('', $filePathRelativeToFileadmindir, $filePathRelativeToFileadmindir, 1, 'readonly');
+                                               // @todo: add this feature for FAL and TYPO3 6.2
                                        }
                                }
                                break;
                                        }
                                }
                                break;