]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/compressor/class_NullCompressor.php
More class descriptions translated, generic user class added
[shipsimu.git] / inc / classes / main / compressor / class_NullCompressor.php
index 74cb5d30d62d1da28bf0ecf4971898ffba30ec46..157dc1a9ea41d0c270adcae6552bed674ca35a2e 100644 (file)
@@ -31,13 +31,8 @@ class NullCompressor extends BaseFrameworkSystem implements Compressor {
                // Call parent constructor!
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_COMPRESSOR')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.<br />\n",
-                       $this->__toString()
-               ));
-
                // Set description
-               $this->setObjectDescription("Null-Kompressor");
+               $this->setObjectDescription("Null compressor");
 
                // Create an unique ID
                $this->createUniqueID();
@@ -96,9 +91,6 @@ class NullCompressor extends BaseFrameworkSystem implements Compressor {
         * @return      $string         Returns always "null"
         */
        public final function getCompressorExtension () {
-               if ((defined('DEBUG_COMPRESSOR')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:] Dateierweiterung angefordert.<br />\n",
-                       $this->__toString()
-               ));
                return "null";
        }
 }