summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 22:04:08 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 22:04:08 +0100
commit83873e3da1535e02b3eac72e212f7ba0e251b7b9 (patch)
treea24e9351c510994e658628ecbc8c053ee95aad3d /apps/files/ajax
parentede723f1b19c4c1afb7627af85c1e2f8d8a31386 (diff)
downloadnextcloud-server-83873e3da1535e02b3eac72e212f7ba0e251b7b9.tar.gz
nextcloud-server-83873e3da1535e02b3eac72e212f7ba0e251b7b9.zip
Remove deprecated URL functions for OCP\Util
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/ajax')
-rw-r--r--apps/files/ajax/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php
index de3c7ccce5e..951377abf86 100644
--- a/apps/files/ajax/list.php
+++ b/apps/files/ajax/list.php
@@ -43,7 +43,7 @@ try {
}
$data = array();
- $baseUrl = OCP\Util::linkTo('files', 'index.php') . '?dir=';
+ $baseUrl = \OC::$server->getURLGenerator()->linkTo('files', 'index.php') . '?dir=';
$permissions = $dirInfo->getPermissions();