summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/AppInfo/Application.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-03-26 15:51:07 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-06-16 13:56:26 +0200
commit94f0c10ec6221465f8126703c71ad694ef8fa287 (patch)
tree0c3aad27d36c8d26e0ac4aed5c626c526605a064 /apps/files_external/lib/AppInfo/Application.php
parent381aaeb0ccb309a4d29bf32b1fa384617fe1629a (diff)
downloadnextcloud-server-94f0c10ec6221465f8126703c71ad694ef8fa287.tar.gz
nextcloud-server-94f0c10ec6221465f8126703c71ad694ef8fa287.zip
fix some types
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/lib/AppInfo/Application.php')
-rw-r--r--apps/files_external/lib/AppInfo/Application.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php
index 2181a7e2533..b303ff5539c 100644
--- a/apps/files_external/lib/AppInfo/Application.php
+++ b/apps/files_external/lib/AppInfo/Application.php
@@ -33,7 +33,6 @@ use OCA\Files_External\Config\ConfigAdapter;
use OCA\Files_External\Config\UserPlaceholderHandler;
use OCA\Files_External\Listener\GroupDeletedListener;
use OCA\Files_External\Listener\UserDeletedListener;
-use OCA\Files_External\Service\DBConfigService;
use OCA\Files_External\Lib\Auth\AmazonS3\AccessKey;
use OCA\Files_External\Lib\Auth\Builtin;
use OCA\Files_External\Lib\Auth\NullMechanism;
@@ -70,12 +69,7 @@ use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\Files\Config\IMountProviderCollection;
use OCP\Group\Events\GroupDeletedEvent;
-use OCP\IGroup;
-use OCP\IUser;
use OCP\User\Events\UserDeletedEvent;
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
-use Symfony\Component\EventDispatcher\GenericEvent;
-use function foo\func;
require_once __DIR__ . '/../../3rdparty/autoload.php';
@@ -112,7 +106,7 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide
'name' => $l->t('External storages'),
];
});
- $context->injectFn(function(BackendService $backendService, UserPlaceholderHandler $userConfigHandler) {
+ $context->injectFn(function (BackendService $backendService, UserPlaceholderHandler $userConfigHandler) {
$backendService->registerBackendProvider($this);
$backendService->registerAuthMechanismProvider($this);
$backendService->registerConfigHandler('user', function () use ($userConfigHandler) {