diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-03-14 09:49:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-14 09:49:51 +0100 |
commit | 2d5febd0b9fe7f5b9e6a463fa877fef1148921c8 (patch) | |
tree | b32fd9dc7b08788f231c4cf5aa09e37c0843e6dd /apps/files_sharing | |
parent | 0e48afafed1c3f4048e5e78bd5bdd8ff1f9d3883 (diff) | |
parent | 83873e3da1535e02b3eac72e212f7ba0e251b7b9 (diff) | |
download | nextcloud-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_sharing')
-rw-r--r-- | apps/files_sharing/templates/public.php | 2 |
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; ?> |