function login_logout($eventData) { $innomatic_security = new \Innomatic\Security\SecurityManager(); $innomatic_security->LogAccess('', true, true, $_SERVER['REMOTE_ADDR']); \Innomatic\Desktop\Controller\DesktopFrontController::instance('\\Innomatic\\Desktop\\Controller\\DesktopFrontController')->session->remove('INNOMATIC_ROOT_AUTH_USER'); unset($innomatic_security); DesktopRootAuthenticatorHelper::doAuth(); }