From 49229da0e12ed950288ca5c44bbaf4e7b85e3542 Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <mtgap@owncloud.com>
Date: Mon, 20 Aug 2012 17:25:55 -0400
Subject: [PATCH] Remove setTarget from ajax

---
 core/ajax/share.php | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/core/ajax/share.php b/core/ajax/share.php
index ee9700295e..4ff12af9eb 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']);
-- 
GitLab