Merge pull request #3829 from nextcloud/reshares-in-folder
switch reshares to true (display reshares in the folder/filelist)
This commit is contained in:
commit
562c45d925
|
@ -143,7 +143,7 @@ class SharesPlugin extends \Sabre\DAV\ServerPlugin {
|
||||||
$shares = $this->shareManager->getSharesInFolder(
|
$shares = $this->shareManager->getSharesInFolder(
|
||||||
$this->userId,
|
$this->userId,
|
||||||
$node,
|
$node,
|
||||||
false
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
$shareTypesByFileId = [];
|
$shareTypesByFileId = [];
|
||||||
|
|
|
@ -235,7 +235,7 @@ class SharesPluginTest extends \Test\TestCase {
|
||||||
->with(
|
->with(
|
||||||
$this->equalTo('user1'),
|
$this->equalTo('user1'),
|
||||||
$this->anything(),
|
$this->anything(),
|
||||||
$this->equalTo(false)
|
$this->equalTo(true)
|
||||||
)
|
)
|
||||||
->will($this->returnCallback(function ($userId, $node, $flag) use ($shareTypes, $dummyShares) {
|
->will($this->returnCallback(function ($userId, $node, $flag) use ($shareTypes, $dummyShares) {
|
||||||
return [111 => $dummyShares];
|
return [111 => $dummyShares];
|
||||||
|
|
Loading…
Reference in New Issue