diff options
Diffstat (limited to 'apps/files_sharing/ajax/toggleresharing.php')
-rwxr-xr-x | apps/files_sharing/ajax/toggleresharing.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/ajax/toggleresharing.php b/apps/files_sharing/ajax/toggleresharing.php index 853b2bd5349..673f00c5d18 100755 --- a/apps/files_sharing/ajax/toggleresharing.php +++ b/apps/files_sharing/ajax/toggleresharing.php @@ -1,7 +1,7 @@ <?php -OC_JSON::checkAppEnabled('files_sharing'); -OC_JSON::checkAdminUser(); +OCP\JSON::checkAppEnabled('files_sharing'); +OCP\JSON::checkAdminUser(); if ($_POST['resharing'] == true) { OCP\Config::setAppValue('files_sharing', 'resharing', 'yes'); } else { |