]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/web/class_WebConfirmCommand.php
Keep multi-line comments in their proper way with /* */.
[core.git] / inc / classes / main / commands / web / class_WebConfirmCommand.php
index 470550d98e2168c8c844b580bfac7a2b5db5d23c..7c3d3ec9267af5f2f524dcb0dc813e0609e82814 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A command for the confirmation link handling
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -103,7 +103,7 @@ class WebConfirmCommand extends BaseCommand implements Commandable {
                        $userInstance = Registry::getRegistry()->getInstance('user');
                } catch (NullPointerException $e) {
                        // Not found user, e.g. when the user is somehow invalid
-                       $responseInstance->redirectToConfiguredUrl('web_cmd_user_is_null');
+                       $responseInstance->redirectToConfiguredUrl('html_cmd_user_is_null');
                }
 
                // Set username
@@ -119,9 +119,11 @@ class WebConfirmCommand extends BaseCommand implements Commandable {
                // Transfer it to the template engine instance
                $menuInstance->transferContentToTemplateEngine($templateInstance);
 
-               // ... and all variables. This should be merged together in a pattern
-               // to make things easier. A cache mechanism should be added between
-               // these two calls to cache compiled templates.
+               /*
+                * ... and all variables. This should be merged together in a pattern
+                * to make things easier. A cache mechanism should be added between
+                * these two calls to cache compiled templates.
+                */
                $templateInstance->compileVariables();
 
                // Get the content back from the template engine and put it in response class