summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax/unshare.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/unshare.php')
-rw-r--r--apps/files_sharing/ajax/unshare.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/files_sharing/ajax/unshare.php b/apps/files_sharing/ajax/unshare.php
deleted file mode 100644
index d291b719e38..00000000000
--- a/apps/files_sharing/ajax/unshare.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
-
-OCP\JSON::checkAppEnabled('files_sharing');
-OCP\JSON::checkLoggedIn();
-OCP\JSON::callCheck();
-
-$source = '/'.OCP\USER::getUser().'/files'.$_POST['source'];
-$uid_shared_with = $_POST['uid_shared_with'];
-OC_Share::unshare($source, $uid_shared_with);
-
-OCP\JSON::success();
-
-?>