| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 26 | { |
||
| 27 | $member = $this->getMember($input, $output); |
||
| 28 | if (!$member) { |
||
| 29 | return; |
||
| 30 | } |
||
| 31 | |||
| 32 | $member->LockedOutUntil = null; |
||
| 33 | $member->FailedLoginCount = 0; |
||
| 34 | $member->write(); |
||
| 35 | |||
| 36 | $output->writeln('Member <info>' . $member->Email . '</info> unlocked.'); |
||
| 37 | } |
||
| 38 | } |
||
| 40 |