use setPrivileges on files instead of doing it manually
This commit is contained in:
parent
890a94d3d5
commit
04c49fb48e
2 changed files with 2 additions and 6 deletions
|
|
@ -45,11 +45,7 @@ ASSET: while (1) {
|
|||
next ASSET;
|
||||
}
|
||||
last ASSET unless $file;
|
||||
$file->getStorageLocation->setPrivileges(
|
||||
$file->get('ownerUserId'),
|
||||
$file->get('groupIdView'),
|
||||
$file->get('groupIdEdit'),
|
||||
);
|
||||
$file->setPrivileges;
|
||||
}
|
||||
|
||||
finish($session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue