diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-05 12:01:59 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-05 12:05:22 +0300 |
commit | 5f521067d8bbffc37b9700702dcd6abaed89d653 (patch) | |
tree | 8cfac1196d299a647b5dd40c1f6a244d309fe18d /build | |
parent | 342c2aac98961f91f0fd38423a217cb980dd95b8 (diff) |
When a user is removed we should remove the right shares
* This means all the shares directly shared with them
* Or all group shares having a special share with them
This patch fixes the operator precedece (AND before OR).
So before this patch:
(share_with = <deleted user> AND share_type = 0) OR share_type=2
So it deleted all user specific shares
Now:
share_with = <deleted user> AND (share_type = 0 OR (share_type=2)
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions