auth to find the plugin used for login //override if needed } /** * Hook for overriding behavior of logout page. * This method is called from login/logout.php page for all enabled auth plugins. */ function logoutpage_hook() { global $USER; // use $USER->auth to find the plugin used for login global $redirect; // can be used to override redirect after logout //override if needed } } ?>