summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax/setpermissions.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/setpermissions.php')
-rwxr-xr-xapps/files_sharing/ajax/setpermissions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/ajax/setpermissions.php b/apps/files_sharing/ajax/setpermissions.php
index fc907bd7517..73f59d73db2 100755
--- a/apps/files_sharing/ajax/setpermissions.php
+++ b/apps/files_sharing/ajax/setpermissions.php
@@ -2,7 +2,7 @@
//$RUNTIME_NOAPPS = true;
-OC_JSON::checkAppEnabled('files_sharing');
+OCP\JSON::checkAppEnabled('files_sharing');
require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
$source = "/".OCP\USER::getUser()."/files".$_GET['source'];