Merge pull request #19341 from owncloud/enc_all_improved_messages

no need to list users if all users already had a key-pair
This commit is contained in:
Thomas Müller 2015-09-24 14:51:18 +02:00
commit 594a31d260

View file

@ -280,6 +280,12 @@ class EncryptAll {
$newPasswords[] = [$uid, $password];
}
}
if (empty($newPasswords)) {
$this->output->writeln("\nAll users already had a key-pair, no further action needed.\n");
return;
}
$table->setRows($newPasswords);
$table->render();