@@ -170,12 +170,12 @@ |
||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | $data = array('contact_id' => $debtor->getContact()->getId(), |
| 173 | - 'subject' => $subject, |
|
| 174 | - 'body' => $body, |
|
| 175 | - 'from_email' => $this->kernel->intranet->address->get('email'), |
|
| 176 | - 'from_name' => $this->kernel->intranet->address->get('name'), |
|
| 177 | - 'type_id' => 13, // onlinepayment |
|
| 178 | - 'belong_to' => $payment_id); |
|
| 173 | + 'subject' => $subject, |
|
| 174 | + 'body' => $body, |
|
| 175 | + 'from_email' => $this->kernel->intranet->address->get('email'), |
|
| 176 | + 'from_name' => $this->kernel->intranet->address->get('name'), |
|
| 177 | + 'type_id' => 13, // onlinepayment |
|
| 178 | + 'belong_to' => $payment_id); |
|
| 179 | 179 | |
| 180 | 180 | if (!$email->save($data)) { |
| 181 | 181 | throw new Exception('Could not save email to onlinepayment'); |
@@ -119,12 +119,12 @@ |
||
| 119 | 119 | $body .= "\n\nYours sincerely / Venlig hilsen\n". $this->kernel->intranet->address->get('name'); |
| 120 | 120 | |
| 121 | 121 | $data = array('contact_id' => $debtor->getContact()->getId(), |
| 122 | - 'subject' => $subject, |
|
| 123 | - 'body' => $body, |
|
| 124 | - 'from_email' => $this->kernel->intranet->address->get('email'), |
|
| 125 | - 'from_name' => $this->kernel->intranet->address->get('name'), |
|
| 126 | - 'type_id' => 13, // onlinepayment |
|
| 127 | - 'belong_to' => $payment_id); |
|
| 122 | + 'subject' => $subject, |
|
| 123 | + 'body' => $body, |
|
| 124 | + 'from_email' => $this->kernel->intranet->address->get('email'), |
|
| 125 | + 'from_name' => $this->kernel->intranet->address->get('name'), |
|
| 126 | + 'type_id' => 13, // onlinepayment |
|
| 127 | + 'belong_to' => $payment_id); |
|
| 128 | 128 | |
| 129 | 129 | if (!$email->save($data)) { |
| 130 | 130 | throw new Exception('Could not save email to onlinepayment'); |
@@ -70,13 +70,13 @@ |
||
| 70 | 70 | ); |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - /** |
|
| 74 | - * Checking credentials |
|
| 75 | - * |
|
| 76 | - * @param struct $master_password |
|
| 77 | - * |
|
| 78 | - * @return boolean |
|
| 79 | - */ |
|
| 73 | + /** |
|
| 74 | + * Checking credentials |
|
| 75 | + * |
|
| 76 | + * @param struct $master_password |
|
| 77 | + * |
|
| 78 | + * @return boolean |
|
| 79 | + */ |
|
| 80 | 80 | private function checkMasterpassword($master_password) |
| 81 | 81 | { |
| 82 | 82 | if ($master_password != 'abcdefghijklmnopqrstuvwxyz123456789#') { |
@@ -34,13 +34,13 @@ |
||
| 34 | 34 | $HTTP_RAW_POST_DATA = file_get_contents('php://input'); |
| 35 | 35 | |
| 36 | 36 | k() |
| 37 | - ->setIdentityLoader(new MyIdentityLoader()) |
|
| 38 | - // Use container for wiring of components |
|
| 39 | - // ->setComponentCreator(new k_InjectorAdapter(create_container())) |
|
| 40 | - // Enable file logging |
|
| 41 | - //->setLog(dirname(__FILE__) . '/../log/debug.log') |
|
| 42 | - // Uncomment the next line to enable in-browser debugging |
|
| 43 | - //->setDebug() |
|
| 44 | - // Dispatch request |
|
| 45 | - ->run('Intraface_XMLRPC_Controller') |
|
| 46 | - ->out(); |
|
| 37 | + ->setIdentityLoader(new MyIdentityLoader()) |
|
| 38 | + // Use container for wiring of components |
|
| 39 | + // ->setComponentCreator(new k_InjectorAdapter(create_container())) |
|
| 40 | + // Enable file logging |
|
| 41 | + //->setLog(dirname(__FILE__) . '/../log/debug.log') |
|
| 42 | + // Uncomment the next line to enable in-browser debugging |
|
| 43 | + //->setDebug() |
|
| 44 | + // Dispatch request |
|
| 45 | + ->run('Intraface_XMLRPC_Controller') |
|
| 46 | + ->out(); |
|
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | |
| 166 | 166 | $this->assertTrue($basket->removeEvaluationProducts()); |
| 167 | 167 | |
| 168 | - $this->assertEquals(count($basket->getItems()), 0); |
|
| 168 | + $this->assertEquals(count($basket->getItems()), 0); |
|
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | function testSaveCustomerEan() |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | require 'common.php'; |
| 3 | 3 | |
| 4 | 4 | $mail = new Zend_Mail_Storage_Imap(array('host' => 'xxx', |
| 5 | - 'user' => 'xxx', |
|
| 6 | - 'password' => 'xxx')); |
|
| 5 | + 'user' => 'xxx', |
|
| 6 | + 'password' => 'xxx')); |
|
| 7 | 7 | |
| 8 | 8 | $analyzer = new Intraface_modules_newsletter_BounceAnalyzer; |
| 9 | 9 | |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | |
| 166 | 166 | $this->assertTrue($basket->removeEvaluationProducts()); |
| 167 | 167 | |
| 168 | - $this->assertEquals(count($basket->getItems()), 0); |
|
| 168 | + $this->assertEquals(count($basket->getItems()), 0); |
|
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | function testSaveCustomerEan() |
@@ -170,12 +170,12 @@ |
||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | $data = array('contact_id' => $debtor->getContact()->getId(), |
| 173 | - 'subject' => $subject, |
|
| 174 | - 'body' => $body, |
|
| 175 | - 'from_email' => $this->kernel->intranet->address->get('email'), |
|
| 176 | - 'from_name' => $this->kernel->intranet->address->get('name'), |
|
| 177 | - 'type_id' => 13, // onlinepayment |
|
| 178 | - 'belong_to' => $payment_id); |
|
| 173 | + 'subject' => $subject, |
|
| 174 | + 'body' => $body, |
|
| 175 | + 'from_email' => $this->kernel->intranet->address->get('email'), |
|
| 176 | + 'from_name' => $this->kernel->intranet->address->get('name'), |
|
| 177 | + 'type_id' => 13, // onlinepayment |
|
| 178 | + 'belong_to' => $payment_id); |
|
| 179 | 179 | |
| 180 | 180 | if (!$email->save($data)) { |
| 181 | 181 | throw new Exception('Could not save email to onlinepayment'); |
@@ -119,12 +119,12 @@ |
||
| 119 | 119 | $body .= "\n\nYours sincerely / Venlig hilsen\n". $this->kernel->intranet->address->get('name'); |
| 120 | 120 | |
| 121 | 121 | $data = array('contact_id' => $debtor->getContact()->getId(), |
| 122 | - 'subject' => $subject, |
|
| 123 | - 'body' => $body, |
|
| 124 | - 'from_email' => $this->kernel->intranet->address->get('email'), |
|
| 125 | - 'from_name' => $this->kernel->intranet->address->get('name'), |
|
| 126 | - 'type_id' => 13, // onlinepayment |
|
| 127 | - 'belong_to' => $payment_id); |
|
| 122 | + 'subject' => $subject, |
|
| 123 | + 'body' => $body, |
|
| 124 | + 'from_email' => $this->kernel->intranet->address->get('email'), |
|
| 125 | + 'from_name' => $this->kernel->intranet->address->get('name'), |
|
| 126 | + 'type_id' => 13, // onlinepayment |
|
| 127 | + 'belong_to' => $payment_id); |
|
| 128 | 128 | |
| 129 | 129 | if (!$email->save($data)) { |
| 130 | 130 | throw new Exception('Could not save email to onlinepayment'); |