fix confirm cmd oops

pull/35/head
Ondřej Hruška 6 years ago
parent 00f238d625
commit 93f28e38ed
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      app/Console/Commands/ConfirmUser.php

@ -41,7 +41,7 @@ class ConfirmUser extends Command
$u = User::resolve($this->argument('user')); $u = User::resolve($this->argument('user'));
$un=''; $un='';
if ($this->hasOption('undo')) { if ($this->option('undo')) {
$u->update(['confirmed' => false]); $u->update(['confirmed' => false]);
$un='un'; $un='un';
} else { } else {

Loading…
Cancel
Save