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
|
|
@ -583,7 +583,7 @@ sub update {
|
|||
$self->setStorageLocation;
|
||||
}
|
||||
if ($self->get("ownerUserId") ne $before{owner} || $self->get("groupIdEdit") ne $before{edit} || $self->get("groupIdView") ne $before{view}) {
|
||||
$self->getStorageLocation->setPrivileges($self->get("ownerUserId"),$self->get("groupIdView"),$self->get("groupIdEdit"));
|
||||
$self->setPrivileges;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue