summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax/share.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/share.php')
-rwxr-xr-xapps/files_sharing/ajax/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/ajax/share.php b/apps/files_sharing/ajax/share.php
index c704f653c11..fe1c9e07984 100755
--- a/apps/files_sharing/ajax/share.php
+++ b/apps/files_sharing/ajax/share.php
@@ -5,7 +5,7 @@
OC_JSON::checkAppEnabled('files_sharing');
require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
-$userDirectory = "/".OC_User::getUser()."/files";
+$userDirectory = "/".OCP\USER::getUser()."/files";
$sources = explode(";", $_POST['sources']);
$uid_shared_with = $_POST['uid_shared_with'];
$permissions = $_POST['permissions'];