summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-01-06 23:40:00 +0100
committerArthur Schiwon <blizzz@owncloud.com>2015-01-06 23:40:00 +0100
commit64f0b055e67974141cf2e156d2b062f55768ce7d (patch)
treea08d02af32d224db1f5190ec81b8453105a68046 /apps/user_ldap/appinfo
parent40ecd30fba6d29362c455b1f0eef875ff19cd544 (diff)
downloadnextcloud-server-64f0b055e67974141cf2e156d2b062f55768ce7d.tar.gz
nextcloud-server-64f0b055e67974141cf2e156d2b062f55768ce7d.zip
inject IDateTimeFormatter to show-remnants command
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r--apps/user_ldap/appinfo/register_command.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_ldap/appinfo/register_command.php b/apps/user_ldap/appinfo/register_command.php
index 6abfd699c90..651e6a564e1 100644
--- a/apps/user_ldap/appinfo/register_command.php
+++ b/apps/user_ldap/appinfo/register_command.php
@@ -31,7 +31,9 @@ $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($ocConfig));
-$application->add(new OCA\user_ldap\Command\ShowRemnants($deletedUsersIndex));
+$application->add(new OCA\user_ldap\Command\ShowRemnants(
+ $deletedUsersIndex, \OC::$server->getDateTimeFormatter())
+);
$application->add(new OCA\user_ldap\Command\CheckUser(
$uBackend, $helper, $deletedUsersIndex, $userMapping)
);