nextcloud/lib/private/share
Roeland Jago Douma 5f521067d8 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)
2016-02-05 10:05:22 +01:00
..
constants.php Happy new year! 2016-01-12 15:02:18 +01:00
helper.php Happy new year! 2016-01-12 15:02:18 +01:00
hooks.php When a user is removed we should remove the right shares 2016-02-05 10:05:22 +01:00
mailnotifications.php Happy new year! 2016-01-12 15:02:18 +01:00
searchresultsorter.php Happy new year! 2016-01-12 15:02:18 +01:00
share.php Replace other usages 2016-01-25 17:17:36 +01:00