[BUGFIX] Page tree filter couldn't filter for id or title anymore
[Packages/TYPO3.CMS.git] / typo3 / sysext / viewpage / ext_tables.php
index 682919b..06eaef7 100755 (executable)
@@ -2,22 +2,20 @@
 if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
-
 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
-               // Module Web->View
-       Tx_Extbase_Utility_Extension::registerModule(
-               $_EXTKEY,
+       // Module Web->View
+       \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
+               'TYPO3.CMS.' . $_EXTKEY,
                'web',
                'view',
                'after:layout',
                array(
-                       'View' => 'show',
+                       'ViewModule' => 'show'
                ),
                array(
                        'icon' => 'EXT:viewpage/ext_icon.gif',
                        'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
-                       'access' => 'user,group',
+                       'access' => 'user,group'
                )
        );
 }
-?>
\ No newline at end of file