mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
Cleanup namepaces, variables uses
This commit is contained in:
@@ -44,16 +44,14 @@ class module_console_systemMailCheck extends Command
|
||||
|
||||
protected function doExecute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$appbox = $this->getService('phraseanet.appbox');
|
||||
|
||||
$output->writeln("Processing...");
|
||||
|
||||
$bad_users = User_Adapter::get_wrong_email_users($this->container);
|
||||
|
||||
foreach ($bad_users as $email => $users) {
|
||||
if ($input->getOption('list')) {
|
||||
$this->write_infos($email, $users, $output, $appbox);
|
||||
} elseif ($this->manage_group($email, $users, $output, $appbox) === false) {
|
||||
$this->write_infos($email, $users, $output, $this->getService('phraseanet.appbox'));
|
||||
} elseif ($this->manage_group($email, $users, $output, $this->getService('phraseanet.appbox')) === false) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user