aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-07-16 10:29:38 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-07-16 10:29:38 +0200
commit9e7426a1018c83496979696abe22bab1871f8a9d (patch)
tree8ddf3e2d47cf33a11fbcf9aa005cd91c7f6ba5f7
parent89fe5415f875ee5d151af6f807ace891d7557cb5 (diff)
downloadnextcloud-server-9e7426a1018c83496979696abe22bab1871f8a9d.tar.gz
nextcloud-server-9e7426a1018c83496979696abe22bab1871f8a9d.zip
Clean up container usage in files trashbin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r--apps/files_trashbin/lib/AppInfo/Application.php3
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();
});