]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/class_BasePersonell.php
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / application / ship-simu / main / class_BasePersonell.php
index 65df945617962479b9323f096ff9c1253f228216..12347679d962efde40f8e0f2934b134f93e75487 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
  *
@@ -52,16 +52,13 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
                // Call parent constructor
                parent::__construct($className);
 
-               // Set description
-               $this->setObjectDescription("Personal");
+               // Tidy up a little
+               $this->removeSystemArray();
+               $this->removeNumberFormaters();
        }
 
        // 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);
        }