Merge pull request #3829 from nextcloud/reshares-in-folder

switch reshares to true (display reshares in the folder/filelist)
pull/3813/head
Roeland Jago Douma 2017-03-14 20:13:09 +07:00 committed by GitHub
commit 562c45d925
2 changed files with 2 additions and 2 deletions

@ -143,7 +143,7 @@ class SharesPlugin extends \Sabre\DAV\ServerPlugin {
$shares = $this->shareManager->getSharesInFolder(
$this->userId,
$node,
false
true
);
$shareTypesByFileId = [];

@ -235,7 +235,7 @@ class SharesPluginTest extends \Test\TestCase {
->with(
$this->equalTo('user1'),
$this->anything(),
$this->equalTo(false)
$this->equalTo(true)
)
->will($this->returnCallback(function ($userId, $node, $flag) use ($shareTypes, $dummyShares) {
return [111 => $dummyShares];