skip update if the recipient is the same user as the owner, otherwise we run in a infinite loop for group shares
fix indention
LDAP: fix wrong return value
Merge pull request #2474 from owncloud/fix_2299

skip update if the recipient is the same user as the owner