|
@@ 89-93 (lines=5) @@
|
| 86 |
|
$arg = $input->getArgument('parameter'); |
| 87 |
|
switch ($arg) { |
| 88 |
|
case "enable": |
| 89 |
|
case "on": |
| 90 |
|
$this->chatNotification->sendMessage("expansion_customchat.chat.enabled", null, |
| 91 |
|
['%admin%' => $groupName, '%nickname%' => $nickName]); |
| 92 |
|
$this->customChat->setStatus(true); |
| 93 |
|
break; |
| 94 |
|
case "disable": |
| 95 |
|
case "off": |
| 96 |
|
$this->chatNotification->sendMessage("expansion_customchat.chat.disabled", null, |
|
@@ 95-99 (lines=5) @@
|
| 92 |
|
$this->customChat->setStatus(true); |
| 93 |
|
break; |
| 94 |
|
case "disable": |
| 95 |
|
case "off": |
| 96 |
|
$this->chatNotification->sendMessage("expansion_customchat.chat.disabled", null, |
| 97 |
|
['%admin%' => $groupName, '%nickname%' => $nickName]); |
| 98 |
|
$this->customChat->setStatus(false); |
| 99 |
|
break; |
| 100 |
|
default: |
| 101 |
|
$this->chatNotification->sendMessage("expansion_customchat.chat.invalid", null, ['%arg' => $arg]); |
| 102 |
|
break; |