Skip to content
Snippets Groups Projects
Commit 49229da0 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Remove setTarget from ajax

parent b819aa33
No related branches found
No related tags found
Loading
......@@ -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']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment