diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-20 17:25:55 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-20 21:22:22 -0400 |
commit | 49229da0e12ed950288ca5c44bbaf4e7b85e3542 (patch) | |
tree | 60dac77495d4e02e3026e4081e669241178247a0 | |
parent | b819aa33f7d0053155cc382ab03c9cf8124c8a47 (diff) | |
download | nextcloud-server-49229da0e12ed950288ca5c44bbaf4e7b85e3542.tar.gz nextcloud-server-49229da0e12ed950288ca5c44bbaf4e7b85e3542.zip |
Remove setTarget from ajax
-rw-r--r-- | core/ajax/share.php | 6 |
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']); |