| @@ -470,8 +470,7 @@ | ||
| 470 | 470 | */ | 
| 471 | 471 | $path = 'mshop/customer/manager/typo3/insert'; | 
| 472 | 472 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); | 
| 473 | - } | |
| 474 | - else | |
| 473 | + } else | |
| 475 | 474 |  			{ | 
| 476 | 475 | /** mshop/customer/manager/typo3/update | 
| 477 | 476 | * Updates an existing customer record in the database | 
| @@ -308,14 +308,12 @@ discard block | ||
| 308 | 308 | if( class_exists( $class ) && $this->object instanceof $class ) | 
| 309 | 309 |  			{ | 
| 310 | 310 | $this->object->attach( $data, $filename, $mimetype ); | 
| 311 | - } | |
| 312 | - elseif( class_exists( '\Swift_Attachment' ) ) | |
| 311 | + } elseif( class_exists( '\Swift_Attachment' ) ) | |
| 313 | 312 |  			{ | 
| 314 | 313 | $part = \Swift_Attachment::newInstance( $data, $filename, $mimetype ); | 
| 315 | 314 | $part->setDisposition( $disposition ); | 
| 316 | 315 | $this->object->attach( $part ); | 
| 317 | - } | |
| 318 | - else | |
| 316 | + } else | |
| 319 | 317 |  			{ | 
| 320 | 318 | throw new \RuntimeException( 'Symfony mailer or Swiftmailer package missing' ); | 
| 321 | 319 | } | 
| @@ -345,13 +343,11 @@ discard block | ||
| 345 | 343 |  			{ | 
| 346 | 344 | $this->object->embed( $data, $filename, $mimetype ); | 
| 347 | 345 | return 'cid:' . $filename; | 
| 348 | - } | |
| 349 | - elseif( class_exists( '\Swift_EmbeddedFile' ) ) | |
| 346 | + } elseif( class_exists( '\Swift_EmbeddedFile' ) ) | |
| 350 | 347 |  			{ | 
| 351 | 348 | $part = \Swift_EmbeddedFile::newInstance( $data, $filename, $mimetype ); | 
| 352 | 349 | return $this->object->embed( $part ); | 
| 353 | - } | |
| 354 | - else | |
| 350 | + } else | |
| 355 | 351 |  			{ | 
| 356 | 352 | throw new \RuntimeException( 'Symfony mailer or Swiftmailer package missing' ); | 
| 357 | 353 | } | 
| @@ -241,8 +241,7 @@ | ||
| 241 | 241 | */ | 
| 242 | 242 | $path = 'mshop/group/manager/typo3/insert'; | 
| 243 | 243 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); | 
| 244 | - } | |
| 245 | - else | |
| 244 | + } else | |
| 246 | 245 |  			{ | 
| 247 | 246 | /** mshop/group/manager/typo3/update/mysql | 
| 248 | 247 | * Updates an existing group record in the database |