]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php
createUniqueID -> generateUniqueId renamed, dataset criteria added, registration...
[shipsimu.git] / application / ship-simu / main / structures / extended / cabines / ship / class_EconomyCabin.php
index 63574618785e46c40cc24b69d96cb651a06b207a..ffd77b6e9b0024189fb639dc86716904ea15c479 100644 (file)
@@ -27,19 +27,11 @@ class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShip
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Economy-Class-Kabine");
 
                // Generate unique ID number
-               $this->createUniqueID();
+               $this->generateUniqueId();
 
                // Clean up a little
                $this->removeSystemArray();