summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-01-06 17:50:06 +0100
committerArthur Schiwon <blizzz@owncloud.com>2015-01-06 17:50:06 +0100
commite724b78694cb17c7a3ff4427ae103b01baa4688c (patch)
tree21ad2d4a24d1e4e3a8da5e5d0ee6f1dd8ff40cf1 /apps/user_ldap/appinfo
parent61ed363f820a3b25b68289ed2c03ff5e5edfed91 (diff)
downloadnextcloud-server-e724b78694cb17c7a3ff4427ae103b01baa4688c.tar.gz
nextcloud-server-e724b78694cb17c7a3ff4427ae103b01baa4688c.zip
smaller fixes: coding style, PHPdoc, typos and few for DI
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r--apps/user_ldap/appinfo/register_command.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/user_ldap/appinfo/register_command.php b/apps/user_ldap/appinfo/register_command.php
index e0013c4eb7a..0e918b82335 100644
--- a/apps/user_ldap/appinfo/register_command.php
+++ b/apps/user_ldap/appinfo/register_command.php
@@ -20,7 +20,8 @@ $uBackend = new User_Proxy(
new LDAP()
);
$deletedUsersIndex = new DeletedUsersIndex(
- \OC::$server->getConfig(), $dbConnection, $userMapping);
+ \OC::$server->getConfig(), $dbConnection, $userMapping
+);
$application->add(new OCA\user_ldap\Command\ShowConfig());
$application->add(new OCA\user_ldap\Command\SetConfig());
@@ -28,6 +29,7 @@ $application->add(new OCA\user_ldap\Command\TestConfig());
$application->add(new OCA\user_ldap\Command\CreateEmptyConfig());
$application->add(new OCA\user_ldap\Command\DeleteConfig());
$application->add(new OCA\user_ldap\Command\Search());
-$application->add(new OCA\user_ldap\Command\ShowRemnants($userMapping));
+$application->add(new OCA\user_ldap\Command\ShowRemnants($deletedUsersIndex));
$application->add(new OCA\user_ldap\Command\CheckUser(
- $uBackend, $helper, $deletedUsersIndex, $userMapping));
+ $uBackend, $helper, $deletedUsersIndex, $userMapping)
+);