Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/toggleresharing.php')
-rwxr-xr-xapps/files_sharing/ajax/toggleresharing.php4
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 {