[TASK] Drop TYPO3_CONF_VARS['SYS]['contentTable']
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / ClickMenu / ClickMenu.php
index 30448a3..b6c928a 100644 (file)
@@ -227,7 +227,7 @@ class ClickMenu {
                                if ($table === 'pages') {
                                        $menuItems['view'] = $this->DB_view($uid);
                                }
-                               if ($table === $GLOBALS['TYPO3_CONF_VARS']['SYS']['contentTable']) {
+                               if ($table === 'tt_content') {
                                        $ws_rec = BackendUtility::getRecordWSOL($table, $this->rec['uid']);
                                        $menuItems['view'] = $this->DB_view($ws_rec['pid']);
                                }