aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/ajax/share.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php
index ee9700295ee..4ff12af9eb9 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -40,12 +40,6 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['item']
($return) ? OC_JSON::success() : OC_JSON::error();
}
break;
- case 'setTarget':
- if (isset($_POST['newTarget'])) {
- $return = OCP\Share::setTarget($_POST['itemType'], $_POST['item'], $_POST['newTarget']);
- ($return) ? OC_JSON::success() : OC_JSON::error();
- }
- break;
case 'setPermissions':
if (isset($_POST['shareType']) && isset($_POST['shareWith']) && isset($_POST['permissions'])) {
$return = OCP\Share::setPermissions($_POST['itemType'], $_POST['item'], $_POST['shareType'], $_POST['shareWith'], $_POST['permissions']);