mirror of
https://github.com/nextcloud/server.git
synced 2026-06-04 22:35:24 -04:00
setup owner when getting users for share
This commit is contained in:
parent
fd7b210654
commit
8123df9489
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,7 @@
|
|||
|
||||
namespace OC\Share;
|
||||
|
||||
use OC\Files\Filesystem;
|
||||
use OCP\IUserSession;
|
||||
use OCP\IDBConnection;
|
||||
use OCP\IConfig;
|
||||
|
|
@ -120,6 +121,7 @@ class Share extends Constants {
|
|||
*/
|
||||
public static function getUsersSharingFile($path, $ownerUser, $includeOwner = false, $returnUserPaths = false) {
|
||||
|
||||
Filesystem::initMountPoints($ownerUser);
|
||||
$shares = $sharePaths = $fileTargets = array();
|
||||
$publicShare = false;
|
||||
$remoteShare = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue