summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
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_sharing/templates
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_sharing/templates')
-rw-r--r--apps/files_sharing/templates/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 698febd4c17..e8eb28f25c6 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -81,7 +81,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<input type="hidden" name="dir" id="dir" value="" />
<div class="hiddenuploadfield">
<input type="file" id="file_upload_start" class="hiddenuploadfield" name="files[]"
- data-url="<?php p(OCP\Util::linkTo('files', 'ajax/upload.php')); ?>" />
+ data-url="<?php p(\OC::$server->getURLGenerator()->linkTo('files', 'ajax/upload.php')); ?>" />
</div>
<?php endif; ?>