[TASK] Sort BE usergroup records in module "Backend Users"
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / ext_tables.php
old mode 100755 (executable)
new mode 100644 (file)
index fea771d..d8f669f
@@ -1,15 +1,20 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Module Admin > Backend Users
-       \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule($_EXTKEY, 'tools', 'tx_Beuser', 'top', array(
-               'BackendUser' => 'index, addToCompareList, removeFromCompareList, compare, online, terminateBackendUserSession'
-       ), array(
-               'access' => 'user,group',
-               'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
-               'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf'
-       ));
+       \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
+               'TYPO3.CMS.' . $_EXTKEY,
+               'system',
+               'tx_Beuser',
+               'top',
+               array(
+                       'BackendUser' => 'index, addToCompareList, removeFromCompareList, compare, online, terminateBackendUserSession'
+               ),
+               array(
+                       'access' => 'admin',
+                       'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-beuser.gif',
+                       'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf'
+               )
+       );
 }
-?>
\ No newline at end of file