From 0a9371f99f05786068d6f6a72b9a717ec24690a8 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Tue, 19 Sep 2023 16:06:40 +0200 Subject: Migrate applications away from deprecated ILogger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/files_trashbin/lib/Storage.php | 6 ++---- apps/files_trashbin/tests/StorageTest.php | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'apps/files_trashbin') diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php index 31304935c26..e1470e7634a 100644 --- a/apps/files_trashbin/lib/Storage.php +++ b/apps/files_trashbin/lib/Storage.php @@ -35,16 +35,14 @@ use OCA\Files_Trashbin\Trash\ITrashManager; use OCP\Encryption\Exceptions\GenericEncryptionException; use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\IRootFolder; -use OCP\Files\Mount\IMountPoint; use OCP\Files\Node; use OCP\Files\Storage\IStorage; -use OCP\ILogger; use OCP\IUserManager; use Psr\Log\LoggerInterface; class Storage extends Wrapper { private string $mountPoint; - private IUserManager$userManager; + private IUserManager$userManager; private LoggerInterface $logger; private IEventDispatcher $eventDispatcher; private IRootFolder $rootFolder; @@ -218,7 +216,7 @@ class Storage extends Wrapper { $rootFolder, ); }, - 1); + 1); } public function getMountPoint() { diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php index 1b9c23f778d..59bd7e0f5ef 100644 --- a/apps/files_trashbin/tests/StorageTest.php +++ b/apps/files_trashbin/tests/StorageTest.php @@ -47,7 +47,6 @@ use OCP\Files\Folder; use OCP\Files\IRootFolder; use OCP\Files\Node; use OCP\Files\Storage\IStorage; -use OCP\ILogger; use OCP\IUserManager; use OCP\Lock\ILockingProvider; use OCP\Share\IShare; -- cgit v1.2.3