aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Trashbin.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-02-01 16:13:27 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-02-05 11:16:04 +0100
commitb2e9e0fa0d6c50892e94b4ad325ef59fe41dfad9 (patch)
tree64e2799ed769ae19605eb94df57f995a02f3330b /apps/files_trashbin/lib/Trashbin.php
parent961ccee5f6cd08d8e06aea7f2e4e432cdb7d88e0 (diff)
downloadnextcloud-server-b2e9e0fa0d6c50892e94b4ad325ef59fe41dfad9.tar.gz
nextcloud-server-b2e9e0fa0d6c50892e94b4ad325ef59fe41dfad9.zip
chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_trashbin/lib/Trashbin.php')
-rw-r--r--apps/files_trashbin/lib/Trashbin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php
index 442abc13670..ced40313d62 100644
--- a/apps/files_trashbin/lib/Trashbin.php
+++ b/apps/files_trashbin/lib/Trashbin.php
@@ -1069,7 +1069,7 @@ class Trashbin {
private static function getUniqueFilename($location, $filename, View $view) {
$ext = pathinfo($filename, PATHINFO_EXTENSION);
$name = pathinfo($filename, PATHINFO_FILENAME);
- $l = \OC::$server->getL10N('files_trashbin');
+ $l = \OCP\Util::getL10N('files_trashbin');
$location = '/' . trim($location, '/');