Code syncronized with shipsimu code base
[mailer.git] / inc / classes / middleware / compressor / class_CompressorChannel.php
index 346538024f1b8d6ac3f8ff8e6f615bba785bfe9a..266cf6facd10b54b5bc1f88a78ab0f7b4011529d 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @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
  *
@@ -35,12 +35,6 @@ class CompressorChannel extends BaseMiddleware implements Registerable {
        protected function __construct () {
                // Call parent constructor!
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Komprimierungshandler");
-
-               // Create an unique ID
-               $this->generateUniqueId();
        }
 
        /**
@@ -71,10 +65,10 @@ class CompressorChannel extends BaseMiddleware implements Registerable {
                                        // Get the compressor's name. That's why you must name
                                        // your files like your classes and also that's why you
                                        // must keep on class in one file.
-                                       $class = substr($dir, 6, -4);
+                                       $className = substr($dir, 6, -4);
 
                                        // Get an instance from our object factory
-                                       $tempInstance = ObjectFactory::createObjectByName($class);
+                                       $tempInstance = ObjectFactory::createObjectByName($className);
 
                                        // Set the compressor
                                        $cInstance->setCompressor($tempInstance);