Debug mailer finished and debug messages removed:
[shipsimu.git] / application / ship-simu / main / constructions / harbors / class_Harbor.php
index e168cc4acc33da3acc688250e12c9d0a18a3fd48..9cae1be691cea0e1872c00167caa65adb37861bc 100644 (file)
@@ -55,18 +55,12 @@ class Harbor extends BaseConstruction {
                // Hafen-Instanz holen
                $harborInstance = new Harbor();
 
-               // Debug message
-               if ((defined('DEBUG_HARBOR')) || (defined('DEBUG_ALL'))) $harborInstance->getDebugInstance()->output(sprintf("[Harbor:] Der Hafen <strong>%s</strong> wird konstruiert.", $harborName));
-
                // Hafenname setzen
                $harborInstance->setHarborName($harborName);
 
                // Werftliste initialisieren
                $harborInstance->createshipyardList();
 
-               // Debug-Meldung ausgeben
-               if ((defined('DEBUG_HARBOR')) || (defined('DEBUG_ALL'))) $harborInstance->getDebugInstance()->output(sprintf("[Harbor:] Der Hafen <strong>%s</strong> ist jetzt fertig gebaut.", $harborName));
-
                // Instanz zurueckliefern
                return $harborInstance;
        }