[CLEANUP] Add missing empty lines after copyright comments II
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / ext_localconf.php
index 85c3d91..2bcbf61 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-if (!defined ('TYPO3_MODE'))   die ('Access denied.');
+defined('TYPO3_MODE') or die();
 
-require_once(t3lib_extMgm::extPath('beuser').'class.tx_beuser_switchbackuser.php');
-
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_feuserauth.php']['logoff_pre_processing'][] = 'tx_beuser_switchbackuser->switchBack';
-?>
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][] = \TYPO3\CMS\Beuser\Hook\SwitchBackUserHook::class . '->switchBack';