More style convensions applied, interface updated
[shipsimu.git] / application / ship-simu / main / constructions / yards / class_Shipyard.php
index 61d2500b485430bb0e85c702c6ad4caf76def60d..7df6e91eaa9377c903c6f5f921c86f58bc4f95a6 100644 (file)
@@ -166,11 +166,6 @@ class Shipyard extends BaseConstruction {
 
        // Add new personell
        public function addNewPersonell ($personell) {
-               if (is_null($this->staffList)) {
-                       // Opps, not initialized!
-                       ApplicationEntryPoint::app_die("New personell: <pre>".print_r($this, true)."</pre>");
-               }
-
                // Add to list
                $this->staffList->append($personell);
        }
@@ -231,23 +226,6 @@ class Shipyard extends BaseConstruction {
                // Return result
                return $result;
        }
-
-       /**
-        * 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!");
-       }
 }
 
 // [EOF]