summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-03-14 09:49:51 +0100
committerGitHub <noreply@github.com>2018-03-14 09:49:51 +0100
commit2d5febd0b9fe7f5b9e6a463fa877fef1148921c8 (patch)
treeb32fd9dc7b08788f231c4cf5aa09e37c0843e6dd /apps/files
parent0e48afafed1c3f4048e5e78bd5bdd8ff1f9d3883 (diff)
parent83873e3da1535e02b3eac72e212f7ba0e251b7b9 (diff)
downloadnextcloud-server-2d5febd0b9fe7f5b9e6a463fa877fef1148921c8.tar.gz
nextcloud-server-2d5febd0b9fe7f5b9e6a463fa877fef1148921c8.zip
Merge pull request #8811 from nextcloud/remove_dep_util_link
Remove deprecated URL functions for OCP\Util
Diffstat (limited to 'apps/files')
-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();