. /** * Logout page for auth_userkey. * * @package auth_userkey * @copyright 2016 Dmitrii Metelkin (dmitriim@catalyst-au.net) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once(dirname(__FILE__) . '/../../config.php'); if (!is_enabled_auth('userkey')) { throw new moodle_exception(get_string('pluginisdisabled', 'auth_userkey')); } get_auth_plugin('userkey')->user_logout_userkey();