diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-14 17:14:36 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-16 14:42:16 +0200 |
commit | dade28cadd3d73feaf665cfd338928643b7c5793 (patch) | |
tree | 89741d6c6950cd409b24744cc50fbcc985f35021 /apps/user_ldap/lib | |
parent | a49d571799566d6b0e980a6dc73e641c07cc395d (diff) | |
parent | 62e19dfa8064c1d5a6d06d2d5c49e277716d4b4e (diff) | |
download | nextcloud-server-dade28cadd3d73feaf665cfd338928643b7c5793.tar.gz nextcloud-server-dade28cadd3d73feaf665cfd338928643b7c5793.zip |
Merge branch 'master' into downstream-ldap-3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r-- | apps/user_ldap/lib/Access.php | 1 | ||||
-rw-r--r-- | apps/user_ldap/lib/Command/ShowConfig.php | 3 | ||||
-rw-r--r-- | apps/user_ldap/lib/Command/ShowRemnants.php | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index 19920c58d6c..e7facd80ae0 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -304,7 +304,6 @@ class Access extends LDAPUtility implements IUserTools { } /** - public function ocname2dn($name, $isUser) { * returns the internal ownCloud name for the given LDAP DN of the group, false on DN outside of search DN or failure * @param string $fdn the dn of the group object * @param string $ldapName optional, the display name of the object diff --git a/apps/user_ldap/lib/Command/ShowConfig.php b/apps/user_ldap/lib/Command/ShowConfig.php index ac70468b1c4..7a24889eb09 100644 --- a/apps/user_ldap/lib/Command/ShowConfig.php +++ b/apps/user_ldap/lib/Command/ShowConfig.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\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; @@ -91,7 +92,7 @@ class ShowConfig extends Command { $configuration = $configHolder->getConfiguration(); ksort($configuration); - $table = $this->getHelperSet()->get('table'); + $table = new Table($output); $table->setHeaders(array('Configuration', $id)); $rows = array(); foreach($configuration as $key => $value) { 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')); |