[CLEANUP] Add missing empty lines after copyright comments II
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / ext_localconf.php
index 0ce1108..2bcbf61 100644 (file)
@@ -1,10 +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']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][] = 'tx_beuser_switchbackuser->switchBack';
-
-?>
\ No newline at end of file
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][] = \TYPO3\CMS\Beuser\Hook\SwitchBackUserHook::class . '->switchBack';