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(
|
||||
$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];
|
||||
|
|
Loading…
Reference in New Issue