aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-09-21 15:12:31 +0200
committerGitHub <noreply@github.com>2023-09-21 15:12:31 +0200
commitff9de2efb6a1a755428bfb7b89d562c5fc46138d (patch)
tree17a3540a7eca420f91ea883dba0d50b012c4821f /apps/files_trashbin
parenta1a1b990e62c046d17fe0a2f7991f102a93361c0 (diff)
parent0a9371f99f05786068d6f6a72b9a717ec24690a8 (diff)
downloadnextcloud-server-ff9de2efb6a1a755428bfb7b89d562c5fc46138d.tar.gz
nextcloud-server-ff9de2efb6a1a755428bfb7b89d562c5fc46138d.zip
Merge pull request #40508 from nextcloud/fix/migrate-apps-away-from-ilogger
Migrate applications away from deprecated ILogger
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/lib/Storage.php6
-rw-r--r--apps/files_trashbin/tests/StorageTest.php1
2 files changed, 2 insertions, 5 deletions
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;