@@ -447,11 +447,9 @@ discard block |
||
447 | 447 | $sender = $helper->ask($input, $output, $senderQuestion); |
448 | 448 | if (empty($sender)) { |
449 | 449 | $output->writeln("XMPP-JID must not be empty!"); |
450 | - } |
|
451 | - elseif (substr_count($sender,'@') !== 1) { |
|
450 | + } elseif (substr_count($sender,'@') !== 1) { |
|
452 | 451 | $output->writeln("XMPP-JID not valid!"); |
453 | - } |
|
454 | - else { |
|
452 | + } else { |
|
455 | 453 | $username = explode('@',$sender)[0]; |
456 | 454 | } |
457 | 455 | endwhile; |
@@ -484,8 +482,7 @@ discard block |
||
484 | 482 | endwhile; |
485 | 483 | if ($method === "1") { |
486 | 484 | $output->writeln("Using prosody with mod_rest as XMPP sending option."); |
487 | - } |
|
488 | - elseif ($method === "2") { |
|
485 | + } elseif ($method === "2") { |
|
489 | 486 | $output->writeln("Using prosody with mod_post_msg as XMPP sending option."); |
490 | 487 | } |
491 | 488 | $output->writeln("XMPP Admin Configuration finished."); |