3 * This file is part of the TYPO3 CMS project.
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
12 * The TYPO3 project - inspiring people to share!
16 * Logout script for the backend
17 * This script saves the interface positions and calls the closeTypo3Windows in the frameset
19 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
21 require __DIR__
. '/init.php';
23 \TYPO3\CMS\Core\Utility\GeneralUtility
::deprecationLog(
24 'The entry point to logout was moved to an own module. Please use BackendUtility::getModuleUrl(\'logout\') to link to logout.php. This script will be removed in TYPO3 CMS 8.'
27 $logoutController = \TYPO3\CMS\Core\Utility\GeneralUtility
::makeInstance(\TYPO3\CMS\Backend\Controller\LogoutController
::class);
28 $logoutController->logout();