diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-07-16 10:29:38 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-07-16 10:29:38 +0200 |
commit | 9e7426a1018c83496979696abe22bab1871f8a9d (patch) | |
tree | 8ddf3e2d47cf33a11fbcf9aa005cd91c7f6ba5f7 | |
parent | 89fe5415f875ee5d151af6f807ace891d7557cb5 (diff) | |
download | nextcloud-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.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(); }); |