]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/constructions/docks/class_DryDock.php
More conventions than code added:
[shipsimu.git] / application / ship-simu / main / constructions / docks / class_DryDock.php
index 879786d2f873a713ac9560edc0a179d1112e1c0b..a8ce7e6a7828c81a0e04b8c8967a423ec17c7931 100644 (file)
@@ -4,9 +4,9 @@
  *
  * @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
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -27,8 +27,6 @@ class DryDock extends BaseConstruction {
 
        // Konstruktor
        protected function __construct () {
-               if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[DryDock:] Konstruktor erreicht.<br />\n");
-
                // Call parent constructor
                parent::__construct(__CLASS__);
 
@@ -36,24 +34,7 @@ class DryDock extends BaseConstruction {
                $this->setObjectDescription("Trockendock");
 
                // Generate unique ID number
-               $this->createUniqueID();
-       }
-
-       /**
-        * Stub!
-        */
-       public function saveObjectToDatabase () {
-               $this->getDebugInstance()->output(sprintf("[%s:] Stub <strong>%s</strong> erreicht.",
-                       $this->__toString(),
-                       __FUNCTION__
-               ));
-       }
-
-       /**
-        * Limits this object with an ObjectLimits instance
-        */
-       public function limitObject (ObjectLimits $limitInstance) {
-               ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");
+               $this->generateUniqueId();
        }
 }