]> source.dussan.org Git - nextcloud-server.git/commitdiff
Revert commit 8cf0e853686a5c4f9f082d8e47832277f50ea6c0.
authorThomas Tanghus <thomas@tanghus.net>
Mon, 3 Sep 2012 00:47:04 +0000 (02:47 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Wed, 5 Sep 2012 15:22:03 +0000 (17:22 +0200)
core/ajax/share.php

index 0629a1697f43cbe0e04807ec275d4d4594864557..3ace97d4d023b98f90a13e6918b2170542bf07d2 100644 (file)
@@ -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'])) {