diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-12 23:47:07 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-12 23:47:07 +0200 |
commit | 9e817e9e0b5d6c0b34954bfef70510b64ced11f4 (patch) | |
tree | 6f6ffdcb8bedef2502b8b859ebed99860723e6fc /apps/user_ldap/lib/Command/ShowRemnants.php | |
parent | 17fa45a29200ced15b4258f2d06d8159b60856f9 (diff) | |
download | nextcloud-server-9e817e9e0b5d6c0b34954bfef70510b64ced11f4.tar.gz nextcloud-server-9e817e9e0b5d6c0b34954bfef70510b64ced11f4.zip |
symfony replaced table helper by class, fixes two broken LDAP occ commands
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/Command/ShowRemnants.php')
-rw-r--r-- | apps/user_ldap/lib/Command/ShowRemnants.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Command/ShowRemnants.php b/apps/user_ldap/lib/Command/ShowRemnants.php index df38d6f650d..0e6aea6a5ab 100644 --- a/apps/user_ldap/lib/Command/ShowRemnants.php +++ b/apps/user_ldap/lib/Command/ShowRemnants.php @@ -26,6 +26,7 @@ namespace OCA\User_LDAP\Command; use Symfony\Component\Console\Command\Command; +use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; @@ -64,7 +65,7 @@ class ShowRemnants extends Command { */ protected function execute(InputInterface $input, OutputInterface $output) { /** @var \Symfony\Component\Console\Helper\Table $table */ - $table = $this->getHelperSet()->get('table'); + $table = new Table($output); $table->setHeaders(array( 'ownCloud name', 'Display Name', 'LDAP UID', 'LDAP DN', 'Last Login', 'Dir', 'Sharer')); |