summaryrefslogtreecommitdiffstats
path: root/lib/public/share.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/share.php')
-rw-r--r--lib/public/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index 9a24192b4c8..1eb0faf0973 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -141,7 +141,7 @@ class Share {
$cache = false;
$view = new \OC\Files\View('/' . $user . '/files/');
- $meta = $view->getFileInfo(\OC_Filesystem::normalizePath($path));
+ $meta = $view->getFileInfo(\OC\Files\Filesystem::normalizePath($path));
if($meta !== false) {
$source = $meta['fileid'];