]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/personell/company/class_CompanyEmployee.php
Debug mailer finished and debug messages removed:
[shipsimu.git] / application / ship-simu / main / personell / company / class_CompanyEmployee.php
index 53c1ab4522bd14d4bd80718b3c981116106c48b0..32d2abe80b50c2380fe3a50c1d97f7df6484db59 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
@@ -47,7 +47,7 @@ class CompanyEmployee extends SimulatorPersonell {
 
                // Debug message
                if (((defined('DEBUG_COMPANY_EMPLOYEE')) && (defined('DEBUG_PERSONELL'))) || (defined('DEBUG_ALL'))) {
-                       $personellInstance->getDebugInstance()->output(sprintf("[%s:%d] Der/Die Angestellte <strong>%s %s</strong> wird angelegt.<br />\n",
+                       $personellInstance->debugOutput(sprintf("[%s:%d] Der/Die Angestellte <strong>%s %s</strong> wird angelegt.",
                                __CLASS__,
                                __LINE__,
                                $surname,
@@ -86,28 +86,8 @@ class CompanyEmployee extends SimulatorPersonell {
 
        // Remove the employee list
        private function removeEmployeeList () {
-               if (((defined('DEBUG_COMPANY_EMPLOYEE')) && (defined('DEBUG_PERSONELL'))) || (defined('DEBUG_ALL'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Angestellten-List entfernt.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
                unset($this->employeeList);
        }
-
-       /**
-        * Call parent method
-        */
-       public function saveObjectToDatabase () {
-               parent::saveObjectToDatabase();
-       }
-
-       /**
-        * Limits this object with an ObjectLimits instance
-        */
-       public function limitObject (ObjectLimits $limitInstance) {
-               parent::limitObject($limitInstance);
-       }
 }
 
 // [EOF]