]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/class_BasePersonell.php
Link to creating new company relinked to generic company page
[shipsimu.git] / application / ship-simu / main / class_BasePersonell.php
index 888061ca770a1a88d66364f699b5f26dbc79ddc9..a0baf636eaec11440ab52ac50f747e22e34526e4 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -48,9 +48,9 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
        private $salary     = 0.00;
 
        // Constructor
-       protected function __construct ($class) {
+       protected function __construct ($className) {
                // Call parent constructor
-               parent::__construct($class);
+               parent::__construct($className);
 
                // Set description
                $this->setObjectDescription("Personal");
@@ -58,10 +58,6 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
 
        // Remove min/max ages
        public final function removeMinMaxAge () {
-               if (defined('DEBUG_PERSONELL')) $this->getDebugInstance()->output(sprintf("[%s:%d] Minimum-/Maximum-Alter entfernt.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
                unset($this->MIN_AGE);
                unset($this->MAX_AGE);
        }