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