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

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

View File

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

View File

@ -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];