]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/auth/class_UserAuthorizationException.php
Updated copyright:
[core.git] / inc / classes / exceptions / auth / class_UserAuthorizationException.php
index dd64ab8c20434255d8886412b68446f20e19beef..dfb06e1001358689864a426c59d12410b6440b38 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An exception thrown when authorization of the user has failed
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
+ * @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
@@ -29,9 +29,9 @@ class UserAuthorizationException extends FrameworkException {
         * @param       $code                           Error code
         * @return      void
         */
-       public function __construct(Filterable $filterInstance, $code) {
+       public function __construct (Filterable $filterInstance, $code) {
                // Construct the message
-               $message = sprintf("[%s:%d] Authorization has failed. Error code <span class=\"exception_reason\">%s</span>",
+               $message = sprintf('[%s:%d] Authorization has failed. Error code %s',
                        $filterInstance->__toString(),
                        $this->getLine(),
                        $this->getHexCode($code)