Debug mailer finished and debug messages removed:
[shipsimu.git] / application / ship-simu / main / structures / extended / class_BaseDeckStructure.php
index ce8abb43cc12e2880aa83702c898b5521b44bbc6..371a004d7bc5a06317c3fe28a9c4bfd58302463b 100644 (file)
@@ -36,7 +36,7 @@ class BaseDeckStructure extends BaseStructure {
 
        // Deckstruktur dem Schiff hinzufuegen
        public function addShipPartToShip (ConstructableShip $shipInstance, ConstructableShipPart $deckInstance) {
-               if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das Deck <strong>%s</strong> wird f&uuml;r das Schiff <strong>%s</strong> konstruiert.",
+               if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->debugOutput(sprintf("[%s:%d] Das Deck <strong>%s</strong> wird f&uuml;r das Schiff <strong>%s</strong> konstruiert.",
                        __CLASS__,
                        __LINE__,
                        $deckInstance->getObjectDescription(),
@@ -50,7 +50,7 @@ class BaseDeckStructure extends BaseStructure {
                $this->setNumDecks($deckInstance->getNumDecks());
                $deckInstance->removeNumDecks();
 
-               if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das Deck <strong>%s</strong> wurde in das Schiff <strong>%s</strong> eingebaut.",
+               if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->debugOutput(sprintf("[%s:%d] Das Deck <strong>%s</strong> wurde in das Schiff <strong>%s</strong> eingebaut.",
                        __CLASS__,
                        __LINE__,
                        $deckInstance->getObjectDescription(),