X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebLogoutCommand.php;h=16fb87f3df1a865f3a6bb021ef5306214d3a7c9c;hb=ccc1db45751c976264513b8c51884e39f8214b12;hp=91a9d518d788934d1213bc0fcbd0c076e7107e5d;hpb=c6d73b0e3246efc824cb98338d4be7ee5bc9f308;p=core.git diff --git a/inc/classes/main/commands/web/class_WebLogoutCommand.php b/inc/classes/main/commands/web/class_WebLogoutCommand.php index 91a9d518..16fb87f3 100644 --- a/inc/classes/main/commands/web/class_WebLogoutCommand.php +++ b/inc/classes/main/commands/web/class_WebLogoutCommand.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -38,7 +38,7 @@ class WebLogoutCommand extends BaseCommand implements Commandable { * @param $resolverInstance An instance of a command resolver class * @return $commandInstance An instance a prepared command class */ - public final static function createWebLogoutCommand (CommandResolver $resolverInstance) { + public static final function createWebLogoutCommand (CommandResolver $resolverInstance) { // Get new instance $commandInstance = new WebLogoutCommand(); @@ -67,7 +67,7 @@ class WebLogoutCommand extends BaseCommand implements Commandable { $authInstance->destroyAuthData(); // Redirect to "logout done" page - $responseInstance->redirectToConfiguredUrl('logout_done_url'); + $responseInstance->redirectToConfiguredUrl('logout_done'); // Exit here exit();