Fixes for image generation
[shipsimu.git] / inc / classes / main / mailer / debug / class_DebugMailer.php
index 171c56514a333cd69e68ad7de13a12bcfe878a63..042ee69194122982abbf123343e0e495f9a0bfd4 100644 (file)
@@ -31,12 +31,6 @@ class DebugMailer extends BaseMailer implements DeliverableMail {
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set part description
-               $this->setObjectDescription("A mailer for debugging purposes");
-
-               // Create unique ID number
-               $this->generateUniqueId();
        }
 
        /**
@@ -91,13 +85,13 @@ class DebugMailer extends BaseMailer implements DeliverableMail {
                                $templateInstance->assignVariable('subject', $this->getSubjectLine());
 
                                // Walk through all variables, first config to assign them
-                               foreach ($recipientList['config_vars'] as $variable=>$dummy) {
+                               foreach ($recipientList['config_vars'] as $variable => $dummy) {
                                        // Load the config value and set it
                                        $templateInstance->assignConfigVariable($variable);
                                } // END - if
 
                                // Now do the same with the values but ask the "value instance" instead!
-                               foreach ($recipientList['value_vars'] as $variable=>$dummy) {
+                               foreach ($recipientList['value_vars'] as $variable => $dummy) {
                                        // Is the value instance there?
                                        if (!isset($recipientList['values'][$variable])) {
                                                // Throw exception