diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-07-16 18:46:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 18:46:10 +0200 |
commit | 684a7200ac1001284a0901eb00e3773f7a1233b5 (patch) | |
tree | bc7fb86290d28127cabf61e32427148aa9de7943 /apps | |
parent | 33aeef2d101029dd4538994d462a51062a5975d7 (diff) | |
parent | 9e7426a1018c83496979696abe22bab1871f8a9d (diff) | |
download | nextcloud-server-684a7200ac1001284a0901eb00e3773f7a1233b5.tar.gz nextcloud-server-684a7200ac1001284a0901eb00e3773f7a1233b5.zip |
Merge pull request #21863 from nextcloud/techdebt/files-trashbin-container-cleanup
Clean up container usage in files trashbin
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/lib/AppInfo/Application.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_trashbin/lib/AppInfo/Application.php b/apps/files_trashbin/lib/AppInfo/Application.php index 7081ec9b54e..d9f52d21a61 100644 --- a/apps/files_trashbin/lib/AppInfo/Application.php +++ b/apps/files_trashbin/lib/AppInfo/Application.php @@ -34,7 +34,6 @@ use OCA\Files_Trashbin\Expiration; use OCA\Files_Trashbin\Trash\ITrashManager; use OCA\Files_Trashbin\Trash\TrashManager; use OCP\AppFramework\App; -use OCP\AppFramework\IAppContainer; class Application extends App { public function __construct(array $urlParams = []) { @@ -66,7 +65,7 @@ class Application extends App { ); }); - $container->registerService(ITrashManager::class, function (IAppContainer $c) { + $container->registerService(ITrashManager::class, function () { return new TrashManager(); }); |