From e724b78694cb17c7a3ff4427ae103b01baa4688c Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 6 Jan 2015 17:50:06 +0100 Subject: smaller fixes: coding style, PHPdoc, typos and few for DI --- apps/user_ldap/appinfo/register_command.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/user_ldap/appinfo') 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) +); -- cgit v1.2.3