summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-09-03 02:47:04 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-09-05 17:22:03 +0200
commitf2fd22880117cecc30d0df1d4d0f18214286133d (patch)
tree9b9a4107ae41bfe082576ff37595412069de47c5
parent1edab438d1c1490d5257fc2469a6bd8c46582dd1 (diff)
downloadnextcloud-server-f2fd22880117cecc30d0df1d4d0f18214286133d.tar.gz
nextcloud-server-f2fd22880117cecc30d0df1d4d0f18214286133d.zip
Revert commit 8cf0e853686a5c4f9f082d8e47832277f50ea6c0.
-rw-r--r--core/ajax/share.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php
index 0629a1697f4..3ace97d4d02 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -78,10 +78,6 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
}
OC_JSON::success(array('data' => array('reshare' => $reshare, 'shares' => $shares)));
}
- if (isset($_GET['itemType']) && isset($_GET['itemSource']) && isset($_GET['getPermissions'])) {
- $info = OCP\Share::getItemSharedWithBySource($_GET['itemType'], $_GET['itemSource']);
- OC_JSON::success(array('data' => array('info' => $info)));
- }
break;
case 'getShareWith':
if (isset($_GET['search'])) {